Interface IWorkspaceExtension2

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that supply workspace extension information.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("727F1038-6DF0-4972-B504-4A44CFEA2B57")]
public interface IWorkspaceExtension2 : IWorkspaceExtension

Remarks

IWorkspaceExtension2 provides access to members that supply workspace extension information.

Properties

DataDictionaryTableNames

IEnumBSTR DataDictionaryTableNames { get; }

Property Value

IEnumBSTR

GUID

UID GUID { get; }

Property Value

UID

Name

string Name { get; }

Property Value

string

PrivateDatasetNames[esriDatasetType]

IEnumBSTR PrivateDatasetNames[esriDatasetType dtype] { get; }

Parameters

dtype esriDatasetType

Property Value

IEnumBSTR

Workspace

The workspace associated with this Workspace Extension.

IWorkspace Workspace { get; }

Property Value

IWorkspace

Remarks

<p>A Workspace is a container of spatial and non-spatial datasets such as feature classes, raster datasets, and tables. It provides methods to instantiate existing datasets and to create new datasets. Workspaces are classified into types specified by the <b><a href="esriWorkspaceType.htm">esriWorkspaceType</a></b> enumerator: FileSystemWorkspace, LocalDatabaseWorkspace, and RemoteDatabaseWorkspace. Shapefiles and ArcGIS for Desktop Advanced workspaces are examples of FileSystemWorkspace. A personal geodatabase stored in an Access or a File Geodatabase is an example of a LocalDatabaseWorkspace. A geodatabase stored in an RDBMS such as Oracle, DB2, SQL Server, or Informix and accessed via ArcSDE is an example of a RemoteDatabaseWorkspace.</p> <p>A Workspace hands out a <b><a href="WorkspaceName.htm">WorkspaceName</a> </b>object as the value of its FullName property. For example, the WorkspaceName for a workspace can be persisted in a map document. An application can call the <b>Open()</b> method on the workspace name after loading it from persistent storage to connect to and get an object reference to the workspace.</p>

Methods

OwnsDatasetType(esriDatasetType)

Indicates if the workspace extension owns the dataset type.

bool OwnsDatasetType(esriDatasetType DatasetType)

Parameters

DatasetType esriDatasetType

Returns

bool

Remarks

The OwnDatasetType method returns a boolean indicating whether the workspace extension supports the specified dataset type.