This document is archived and information here might be outdated.  Recommended version.


IWorkspaceFactory.WorkspaceType Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory Interface > IWorkspaceFactory.WorkspaceType Property
ArcGIS Developer Help

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