This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Schematic > ESRI.ArcGIS.Schematic > Interfaces > IS > ISchematicDataSourceManager Interface > ISchematicDataSourceManager.ReplaceDataSource Method (ArcObjects .NET 10.4 SDK) |
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