ArcObjects Library Reference  (GeoDatabase)    

IWorkspaceFactory.WorkspaceType Property

The type of workspace the workspace factory opens/creates.

[Visual Basic 6.0]
Property WorkspaceType As esriWorkspaceType
[Visual Basic .NET]
Public ReadOnly Property WorkspaceType As esriWorkspaceType
[C#]
public esriWorkspaceType WorkspaceType {get;}
[Java]
public esriWorkspaceType getWorkspaceType()
throws
    IOException,
    AutomationException
[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 and ArcInfo workspaces are examples of FileSystemWorkspace. A Personal Geodatabase stored in Access or a File Geodatabase is an example of a LocalDatabaseWorkspace . An ArcSDE Geodatabase stored in an RDBMS such as Oracle, DB2, SqlServer, or Informix and accessed via ArcSDE is an example of a RemoteDatabaseWorkspace.

See Also

IWorkspaceFactory Interface

 


Feedback Send feedback on this page