This document is archived and information here might be outdated.  Recommended version.


IMSDHelper2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMSDHelper2 Interface

Provides methods to open, save, repair mapserver definition files.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method Close Close the mapserver defintion file.
Method GetDataset Given the layer's catalog path, returns the dataset name.
Method GetDatasetFromTable
Method GetLayerDisplayName Given the layer's catalog path, returns its TOC display name.
Method GetLayers Given the map's catalog path, returns the catalog path for all layers in the map.
Method GetLayerType Given the layer's catalog path, returns the layer type.
Method GetMapDisplayName Given the map's catalog path returns the map's TOC display name.
Method GetMaps Method returns a String Array containing the catalog paths to all the maps in the msd.
Method GetSubLayers Given the layer's catalog path, returns the catalog path to its sub layers, if it has any.
Method GetTableDisplayName
Method GetTables
Method GetWorkspaceConnectionStringFromLayer Given the layer's catalog path, returns the workspace connection string.
Method GetWorkspaceConnectionStringFromTable
Method GetWorkspaceFactoryType Given the layer's catalog path, returns the workspace type.
Method GetWorkspaceFactoryTypeFromTable
Method IsActiveMap Given the map's catalog path, returns a boolean inidicating if it is the active map.
Method IsDataLayer
Method IsLayerValid Given the layer's catalog path, returns a boolean indicating if it is valid.
Method IsTableValid
Method Open Open the mapserver definition file.
Method PutWorkspaceConnectionStringInLayer Given the layer's catalog path, updates its workspace connection string.
Method PutWorkspaceConnectionStringInTable
Method RelativePaths
Method ReplaceAll Replaces the workspace connection string for all layers in the given map.
Method Save Save the mapserver defintion file.
Method SaveAs Save a copy of the open mapserver definition file at the specified location with the specified name.

Inherited Interfaces

Interfaces Description
IMSDHelper Provides methods to open, save, repair mapserver definition files.

CoClasses that implement IMSDHelper2

CoClasses and Classes Description
MSDHelper Coclass implementing methods to open, save, repair mapserver definition files.