Interface IDatasetName
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that supply dataset name information.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("89E75917-C287-11D1-AA77-00C04FA33A15")]
public interface IDatasetName
Remarks
DatasetName is an abstract class that covers Name objects for datasets in a workspace.
DatasetName objects identify and locate datasets within a workspace. In addition they may carry additional properties that describe the named dataset. DatasetName objects supports methods to access metadata for the named object (via the optional IMetadata interface) and to manage privileges for the dataset (via the ISQLPrivilege interface).
The DatasetName object for any existing dataset can be obtained by reading the IDataset::FullName property. DatasetName objects may also be created to specify new datasets that are to be created by some operation.
The IDatasetName interface provides access to the basic properties of a dataset name object.
The Name property returns the identifier for the dataset within the context of its workspace. Note that the value of the name property of the dataset name object (IDatasetName::Name) is the same as the value of the name property for the dataset (IDataset::Name). The WorkspaceName property returns the workspace name object for the workspace containing the dataset being specified by this dataset name object.
You can use the IDataset::FullName property to get a dataset name object from the actual dataset object.
A dataset name can also refer to a dataset that does not yet exist. This is useful when creating new data, for example with the feature data converters.
Properties
Category
The category of the dataset.
string Category { get; set; }
Property Value
Name
The name of the dataset.
string Name { get; set; }
Property Value
SubsetNames
Subset names contained within this dataset name.
IEnumDatasetName SubsetNames { get; }
Property Value
Type
The type of the dataset.
esriDatasetType Type { get; }
Property Value
WorkspaceName
The WorkspaceName of the DatasetName.
IWorkspaceName WorkspaceName { get; set; }
Property Value
Remarks
<P><FONT face=Verdana size=2>A workspace name specifies a workspace object and can be used to instantiate it. The workspace is specified using the connection properties for the workspace. </FONT><FONT face=Verdana size=2>A workspace name is a key component of any dataset name for datasets in the workspace.</FONT></P> <P></P>