Provides access to members that have information about the workspace.
| Description | ||
|---|---|---|
![]() |
ConnectionProperties | The connection properties of the workspace. |
![]() |
DatasetNames | The DatasetNames in the workspace. |
![]() |
Datasets | The datasets in the workspace. |
![]() |
ExecuteSQL | Executes the specified SQL statement. |
![]() |
Exists | Checks if the workspace exists. |
![]() |
IsDirectory | TRUE if the workspace is a file system directory. |
![]() |
PathName | The file system full path of the workspace. |
![]() |
Type | The Type of the Workspace. |
![]() |
WorkspaceFactory | The factory that created the workspace. |
| CoClasses and Classes | Description |
|---|---|
| AMSWorkspace (esriTrackingAnalyst) | Controls the Tracking Server workspace COM object's properties. |
| RasterWorkspace (esriDataSourcesRaster) | The raster workspace object. |
| Sde3Workspace (esriDataSourcesGDB) | ESRI SDE (3.x) Feature Database. |
| Sde4Workspace (esriDataSourcesGDB) | ESRI SDE (4.x) Feature Database. |
| VersionedWorkspace | VersionedWorkspace Object. |
| Workspace | Workspace Object. |
A Workspace is a container of spatial and non-spatial datasets such as feature classes, raster datasets and tables. It provides methods to instantiate existing datasets and to create new datasets. Workspaces are classified into types specified by the esriWorkspaceType enumerator; FileSystemWorkspace, LocalDatabaseWorkspace, and RemoteDatabaseWorkspace. Shapefiles and ArcInfo workspaces are examples of FileSystemWorkspace. A personal geodatabase stored in Access is an example of a LocalDatabaseWorkspace. An enterprise geodatabase stored in an RDBMS such as Oracle, DB2, SqlServer, or Informix and accessed via ArcSDE is an example of a RemoteDatabaseWorkspace.
A Workspace hands out a WorkspaceName name object as the value of its FullName property. The WorkspaceName for a workspace can be persisted, for example, in a map document. An application can call the Open method on the workspace name after loading it from persistent storage in order to connect to and get an object reference to the workspace.
The IWorkspace interface provides methods for accessing various properties of a workspace, such as its connection properties, and the collection of datasets is contains.
IWorkspaceFactory Interface | IWorkspaceName Interface