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


IDataSourceHelperMapDocument Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataSourceHelperMapDocument Interface
ArcGIS Developer Help

IDataSourceHelperMapDocument Interface

Provides access to members that help repair/replace data sources at the Map Document Level.

Product Availability

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

Members

Name Description
Method FindAndReplaceWorkspaceNamePath String version of ReplaceWorkspaceName. Also does find and replace of parts of the workspace path name.
Method Repair Repairs the specified layer and attempt to repair all other broken layers with same workspace path name as the specified layer.
Method ReplaceWorkspaceName Replaces all layers having matching workspace path names with the new workspace name object.

Classes that implement IDataSourceHelperMapDocument

Classes Description
DataSourceHelper Coclass that implements the data source repair methods for MXD.