IMSDHelper Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMSDHelper Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMSDHelper Interface

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

Product Availability

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

Members

Name Description
Method Close Close the mapserver defintion file.
Method GetDataset Given the layer's catalog path, returns the dataset name.
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 GetWorkspaceConnectionStringFromLayer Given the layer's catalog path, returns the workspace connection string.
Method GetWorkspaceFactoryType Given the layer's catalog path, returns the workspace type.
Method IsActiveMap Given the map's catalog path, returns a boolean inidicating if it is the active map.
Method IsLayerValid Given the layer's catalog path, returns a boolean indicating if it is valid.
Method Open Open the mapserver definition file.
Method PutWorkspaceConnectionStringInLayer Given the layer's catalog path, updates its workspace connection string.
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.

CoClasses that implement IMSDHelper

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