This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Schematic > ESRI.ArcGIS.Schematic > Interfaces > IS > ISchematicRulesHelper Interface > ISchematicRulesHelper.FindDataSourceID Method (ArcObjects .NET 10.5 SDK) |
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