Class WorkspaceExtensionClass

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("FBF5715C-A05D-11D4-A64C-0008C711C8C1")]
public class WorkspaceExtensionClass : WorkspaceExtension, IWorkspaceExtension, IWorkspaceExtensionControl
Inheritance
WorkspaceExtensionClass
Implements
Inherited Members

Explicit Interface Implementations

DataDictionaryTableNames

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

virtual IEnumBSTR DataDictionaryTableNames { get; }

Returns

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.

virtual UID GUID { get; }

Returns

UID

Remarks

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

Init(IWorkspaceHelper)

Initializes the extension, passing in a reference to its workspace helper.

virtual void Init(IWorkspaceHelper WorkspaceHelper)

Parameters

WorkspaceHelper IWorkspaceHelper

Name

The Name for this Workspace Extension.

virtual string Name { get; }

Returns

string

Remarks

The Name property is the name of the extension.

PrivateDatasetNames[esriDatasetType]

The private datasets that should not be exposed to browsers.

virtual IEnumBSTR PrivateDatasetNames[esriDatasetType dtype] { get; }

Parameters

dtype esriDatasetType

Returns

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.

Shutdown()

Informs the extension that its workspace helper (and workspace) are going away.

virtual void Shutdown()

Remarks

The Shutdown method informs the workspace extension that the workspace has been released by all clients and is about to go away. In response, the workspace extension should release its reference on the workspace helper. Any subsequent calls by the application to the workspace extension should return an error.