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


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

IDataSourceHelperMap.Repair Method

Repairs the specified layer and attempt to repair all other broken layers with same workspace path name as the specified layer.

[Visual Basic .NET]
Public Sub Repair ( _
    ByVal pBasicMap As IBasicMap, _
    ByVal pDataLayer As IDataLayer, _
    ByVal pName As IName, _
    ByVal validate As Boolean _
)
[C#]
public void Repair (
    IBasicMap pBasicMap,
    IDataLayer pDataLayer,
    IName pName,
    bool validate
);
[C++]
HRESULT Repair(
  IBasicMap* pBasicMap,
  IDataLayer* pDataLayer,
  IName* pName,
  VARIANT_BOOL validate
);
[C++]
Parameters
pBasicMap [in]

pBasicMap is a parameter of type IBasicMap* pDataLayer [in]
pDataLayer is a parameter of type IDataLayer* pName [in]
pName is a parameter of type IName* validate [in]
validate is a parameter of type bool

Product Availability

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

See Also

IDataSourceHelperMap Interface