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


ISchematicDatasetDesign.FindUnusedDataSources Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Schematic)  

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,
  IEnumSchematicDataSource** SchematicDataSources
);
[C++]

Parameters CancelTracker [in]
CancelTracker is a parameter of type ITrackCancel SchematicDataSources [out, retval]
SchematicDataSources is a parameter of type IEnumSchematicDataSource

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