ArcObjects Library Reference (Schematic)  

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(0)]

  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