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


ISchematicRulesHelper.FindDataSourceID Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Schematic)  

ISchematicRulesHelper.FindDataSourceID Method

Obtain or create the datasource id of the input workspace.

[Visual Basic .NET]
Public Function FindDataSourceID ( _
    ByVal Workspace As IWorkspace, _
    ByVal AutoCreate As Boolean _
) As Integer
[C#]
public int FindDataSourceID (
    IWorkspace Workspace,
    bool AutoCreate
);
[C++]
HRESULT FindDataSourceID(
  IWorkspace* Workspace,
  VARIANT_BOOL AutoCreate,
  long* DataSourceID
);
[C++]

Parameters Workspace [in]
Workspace is a parameter of type IWorkspace AutoCreate [in] AutoCreate is a parameter of type VARIANT_BOOL DataSourceID [out, retval] DataSourceID is a parameter of type long

Product Availability

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

See Also

ISchematicRulesHelper Interface