This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDataset Interface > IDataset.Workspace Property (ArcObjects .NET 10.4 SDK) |
The workspace containing this dataset.
[Visual Basic .NET] Public ReadOnly Property Workspace As IWorkspace
[C#] public IWorkspace Workspace {get;}
[C++]
HRESULT get_Workspace(
IWorkspace** database
);
[C++]
Parameters database [out, retval]
database is a parameter of type IWorkspace
The Workspace property returns the containing workspace for this dataset.
FDO_E_NOT_SUPPORTED
Will be returned if this property is accessed on a workspace object.