com.esri.arcgis.geodatabase
Interface IWorkspaceExtension2

All Superinterfaces:
IWorkspaceExtension, Serializable
All Known Implementing Classes:
AddressLocatorWorkspaceExtension, CadastralWorkspaceDatasetExtension, IWorkspaceExtension2Proxy, MosaicWorkspaceExtension, NetworkDatasetWorkspaceExtension, RepresentationWorkspaceExtension, TerrainWorkspaceExtension

public interface IWorkspaceExtension2
extends IWorkspaceExtension, Serializable

Provides access to members that supply workspace extension information.

Remarks

IWorkspaceExtension2 provides access to members that supply workspace extension information.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IWorkspace getWorkspace()
          The workspace associated with this Workspace Extension.
 boolean ownsDatasetType(int datasetType)
          Indicates if the workspace extension owns the dataset type.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IWorkspaceExtension
getDataDictionaryTableNames, getGUID, getName, getPrivateDatasetNames
 

Method Detail

ownsDatasetType

boolean ownsDatasetType(int datasetType)
                        throws IOException,
                               AutomationException
Indicates if the workspace extension owns the dataset type.

Remarks

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
The pOwnsType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspace

IWorkspace getWorkspace()
                        throws IOException,
                               AutomationException
The workspace associated with this Workspace Extension.

Remarks

The Workspace property returns a reference to the workspace associated with the extension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.