ArcObjects Library Reference (GeoDatabase)  

IWorkspaceFactory.WorkspaceType Property

The type of workspace the workspace factory opens/creates.

[Visual Basic .NET]
Public ReadOnly Property WorkspaceType As esriWorkspaceType
public esriWorkspaceType WorkspaceType {get;}
HRESULT get_WorkspaceType(
  esriWorkspaceType* Type


Type [out, retval]

  Type is a parameter of type esriWorkspaceType

Product Availability

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


The WorkspaceType property of a WorkspaceFactory returns information on the type of workspace managed by the WorkspaceFactory. Workspaces are classified into the following types specified by the esriWorkspaceType enumeration; FileSystemWorkspace, LocalDatabaseWorkspace, and RemoteDatabaseWorkspace.
See esriWorkspaceType for information on the types of workspaces.
Shapefiles workspaces are examples of FileSystemWorkspace. Personal and File Geodatabases are examples of LocalDatabaseWorkspace. An ArcSDE Geodatabase is an example of a RemoteDatabaseWorkspace.

See Also

IWorkspaceFactory Interface