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


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

ISchematicDatasetDesign.FindUnusedDataSources Method

Retrieves the unused schematic data sources inside the schematic dataset.

[Visual Basic .NET]
Public Function FindUnusedDataSources ( _
    ByVal CancelTracker As ITrackCancel _
) As IEnumSchematicDataSource
[C#]
public IEnumSchematicDataSource FindUnusedDataSources (
    ITrackCancel CancelTracker
);
[C++]
HRESULT FindUnusedDataSources(
  ITrackCancel* CancelTracker
);
[C++]
Parameters
CancelTracker [in]

CancelTracker is a parameter of type ITrackCancel*

Product Availability

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

Description

During a schematic dataset's life, a large number of data sources may be created. For example, when schematic diagrams are generated from ArcSDE data, a data source for each user who generates/updates diagrams based on this ArcSDE data is created. These data sources also multiply each time schematic diagrams are based on a new reference version of the ArcSDE data. This means that when users leave a company, when reference versions no longer exist or are posted, or simply when diagrams are deleted, the data sources that were initially created to generate the diagrams may still be referenced in the schematic dataset but may not be used anymore. An unused data source is a data source that is referenced in the data sources list but is no longer used in the following ways:

See Also

ISchematicDatasetDesign Interface