Interface IWorkspaceExtension

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

Provides access to members that supply workspace extension information.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("DA10C1C2-09A3-11D4-9FAA-00C04F6BDF0C")]
public interface IWorkspaceExtension

Remarks

The Workspace instantiates all WorkspaceExtensions that are registered in the component category CATID_GeodatabaseWorkspaceExtensions at connection time. An application extension can find a workspace extension by its well known GUID (globally unique identifier) and invoke methods supported by the extension as appropriate.

IWorkspaceExtension is a mandatory interface that must be supported by all workspace extensions.

Properties

DataDictionaryTableNames

Any data dictionary tables that should not be exposed to browsers and should not participate in edit sessions.

IEnumBSTR DataDictionaryTableNames { get; }

Property Value

IEnumBSTR

Remarks

The PrivateDatasetNames and DataDictionaryNames properties return the names of tables and datasets that are private to the extension and will not be exposed by the workspace to browsing clients.  Since they return an EnumBSTR object that is not cocreatable, you must create your own object that implements IEnumBSTR. 

GUID

The GUID that identifies this Workspace Extension.

UID GUID { get; }

Property Value

UID

Remarks

The GUID property returns the well-known GUID for the extension and is guaranteed to be unique.

Name

The Name for this Workspace Extension.

string Name { get; }

Property Value

string

Remarks

The Name property is the name of the extension.

PrivateDatasetNames[esriDatasetType]

The private datasets that should not be exposed to browsers.

IEnumBSTR PrivateDatasetNames[esriDatasetType dtype] { get; }

Parameters

dtype esriDatasetType

Property Value

IEnumBSTR

Remarks

The PrivateDatasetNames and DataDictionaryNames properties return the names of tables and datasets that are private to the extension and will not be exposed by the workspace to browsing clients.