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


IDataSourceHelperMapDocument Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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

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.

CoClasses that implement IDataSourceHelperMapDocument

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