ArcObjects Library Reference  (GeoDatabase)    

IDataset.Workspace Property

The workspace containing this dataset.

[Visual Basic 6.0]
Property Workspace As IWorkspace
[Visual Basic .NET]
Public ReadOnly Property Workspace As IWorkspace
public IWorkspace Workspace {get;}
public  getWorkspace (
    IWorkspace database
HRESULT get_Workspace(
  IWorkspace** database


database [out, retval]

  database is a parameter of type IWorkspace

Product Availability

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


The Workspace property returns the containing workspace for this dataset.

Errors Returned

-2147220989 - FDO_E_NOT_SUPPORTED

Will be returned if IDataset references an IWorkspace object.

See Also

IDataset Interface