ArcObjects Library Reference (GeoDatabase)  

IWorkspace2 Interface

Provides access to members that have information about the workspace.

Product Availability

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

Description

The IWorkspace2 interface provides the NameExists method that facilitates determining the existance of the specified type of dataset with the supplied name.  IWorkspace2 is only implemented for geodatabases and (at versions later than 9.3.1) shapefile workspaces.

Members

Description
Read-only property NameExists Indicates if a dataset with the given name exists within the workspace.

CoClasses that implement IWorkspace2

CoClasses and Classes Description
Sde4Workspace (esriDataSourcesGDB) ESRI SDE (4.x) Feature Database.
Workspace Workspace Object.

.NET Snippets

Create FeatureClass | Create Table |

.NET Related Topics

Creating tables |