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


ISchematicDataSourceManager.ReplaceDataSource Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Schematic > ESRI.ArcGIS.Schematic > Interfaces > IS > ISchematicDataSourceManager Interface > ISchematicDataSourceManager.ReplaceDataSource Method
ArcGIS Developer Help

ISchematicDataSourceManager.ReplaceDataSource Method

Replaces a schematic diagram referenced data sources.

[Visual Basic .NET]
Public Sub ReplaceDataSource ( _
    ByVal InitialDataSourceName As String, _
    ByVal ReplacingDataSourceName As String, _
    [ByVal TrackCancel As ITrackCancel] _
)
[C#]
public void ReplaceDataSource (
    string InitialDataSourceName,
    string ReplacingDataSourceName,
    ITrackCancel TrackCancel
);
[C++]
HRESULT ReplaceDataSource(
  BSTR InitialDataSourceName,
  BSTR ReplacingDataSourceName,
  ITrackCancel* TrackCancel
);
[C++]
Parameters
InitialDataSourceName [in]

InitialDataSourceName is a parameter of type BSTR ReplacingDataSourceName [in]
ReplacingDataSourceName is a parameter of type BSTR TrackCancel [in, optional, defaultvalue()]
TrackCancel is a parameter of type ITrackCancel*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

See Also

ISchematicDataSourceManager Interface