ArcObjects Library Reference (GeoDatabase)  

IDatasetName Interface

Provides access to members that supply dataset name information. Note: the IDatasetName interface has been superseded byIDatasetName2. Please consider using the more recent version.

Product Availability

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

Members

Description
Read/write property Category The category of the dataset.
Read/write property Name The name of the dataset.
Read-only property SubsetNames Subset names contained within this dataset name.
Read-only property Type The type of the dataset.
Read/write property WorkspaceName The WorkspaceName of the DatasetName.

CoClasses that implement IDatasetName

CoClasses and Classes Description
AMSDatasetName (esriTrackingAnalyst) Controls the settings for the tracking dataset names.
CacheRasterDatasetName (esriCarto) A raster dataset name for Globe and Map cache.
CadastralFabricName (esriGeoDatabaseExtensions) Esri Cadastral Fabric Name Object.
CadDrawingName (esriDataSourcesFile) Cad Drawing Name object
CoverageFeatureClassName (esriDataSourcesFile) Maintains ArcInfo Coverage Feature Class information.
CoverageName (esriDataSourcesFile) Maintains ArcInfo Coverage information.
FeatureClassName Esri Feature Class Name object.
FeatureDatasetName Esri Feature Dataset Name object.
FeatureQueryName Esri Feature Query Name object.
FgdbFeatureClassName (esriDataSourcesGDB) File GeoDatabase Feature Class Name object.
FgdbTableName (esriDataSourcesGDB) File GeoDatabase Table Name object.
FunctionRasterDatasetName (esriDataSourcesRaster) A class for a function raster dataset name.
GeometricNetworkName Esri Geometric Network Name object.
GPToolboxName (esriGeoprocessing) Light-weight object referencing a geoprocessing toolbox.
GPToolName (esriGeoprocessing) Light-weight object referencing a geoprocessing tool.
LasDatasetName (esriGeoDatabaseExtensions) The Esri LasDatasetName component.
MemoryRelationshipClassName A name class that represents as in memory relationship class.
MosaicDatasetName The mosaic dataset name object.
NetCDFFeatureClassName (esriDataSourcesNetCDF) A container for name information about a NetCDF feature class.
NetCDFRasterDatasetName (esriDataSourcesNetCDF) A container for name information about a NetCDF raster dataset.
NetCDFTableName (esriDataSourcesNetCDF) A container for name information about a NetCDF table.
NetworkDatasetName A container for describing this network dataset's name properties.
ObjectClassName Esri Object Class Name object.
QueryTableName Esri Query table Name object.
RasterBandName A container for name information about a raster band.
RasterCatalogName Esri RasterCatalog Name object.
RasterDatasetName A container for name information about a raster dataset.
RelationshipClassName Esri Relationship Class Name object.
RelQueryTableName A name class that represents a RelQueryTable.
RepresentationClassName Name coclass for representation classes.
RouteEventSourceName (esriLocation) Route event source name object.
SchematicDatasetName (esriSchematic) Schematic dataset name object.
SchematicDiagramClassName (esriSchematic) Schematic diagram class name object.
SchematicDiagramName (esriSchematic) Schematic diagram name object.
SchematicFolderName (esriSchematic) Schematic folder name object.
SchematicWorkspaceName (esriSchematic) Schematic workspace name object.
SdeRasterTableName (esriDataSourcesRaster) A container for name information about an SDE Raster.
TableName Esri Table Name object.
TableQueryName Esri Table Query Name object.
TerrainName (esriGeoDatabaseExtensions) Esri Terrain Name object.
TinName The Esri TinName component.
TopologyName Esri Topology Name object.
UnknownDatasetName Esri Unknown Dataset Name object.
XYEventSourceName A name object that defines the objects needed to create an XY event layer.

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.