Provides access to members that have information about the workspace.
|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.|
|NetCDFWorkspace (esriDataSourcesNetCDF)||The NetCDF workspace object.|
|RasterWorkspace (esriDataSourcesRaster)||The raster workspace object.|
|Sde3Workspace (esriDataSourcesGDB)||ESRI SDE (3.x) Feature Database.|
|Sde4Workspace (esriDataSourcesGDB)||ESRI SDE (4.x) Feature Database.|
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 or a File Geodatabase is an example of a LocalDatabaseWorkspace. A geodatabase stored in an RDBMS such as Oracle, DB2, SqlServer, or Informix and accessed via ArcSDE is an example of a RemoteDatabaseWorkspace.
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. A WorkspaceName name object can be returned from a workspace through the use of IDataset.FullName.
The IWorkspace interface provides methods for accessing various properties of a workspace, such as its connection properties, and the collection of datasets it contains.