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


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

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

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

Classes that implement IWorkspace2

Classes Description
Sde4Workspace (esriDataSourcesGDB) Esri SDE (4.x) Feature Database.
Workspace Workspace Object.