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
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:
- As a parameter in any schematic dataset configuration (custom query for diagram template or schematic feature class, attribute query, associated object class, and so on)
- To associate any schematic feature contained in schematic diagrams to GIS features or objects