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
[C#]
public esriWorkspaceType WorkspaceType {get;}
[C++]
HRESULT get_WorkspaceType(
  esriWorkspaceType* Type
);
[C++]

Parameters

Type [out, retval]

  Type is a parameter of type esriWorkspaceType

Product Availability

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

Remarks

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