ArcObjects Library Reference (GeoDatabase)  

IDatasetName2.ControllerNames Property

The names of the dataset of the specified type.

[Visual Basic .NET]
Public Function get_ControllerNames ( _
    ByVal DatasetType As esriDatasetType _
) As IEnumDatasetName
[C#]
public IEnumDatasetName get_ControllerNames (
    esriDatasetType DatasetType
);
[C++]
HRESULT get_ControllerNames(
  esriDatasetType DatasetType,
  IEnumDatasetName** DatasetNames
);
[C++]

Parameters

DatasetType [in]

  DatasetType is a parameter of type esriDatasetType

DatasetNames [out, retval]

  DatasetNames is a parameter of type IEnumDatasetName

Product Availability

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

Description

This method will return an enumerator containing name objects for the "controllers" of the dataset. Controllers include feature datasets, topologies, and network datasets. Using the esriDTAny value for the DatasetType parameter will not return an enumerator containing all controllers. Attempting to retrieve controller names that don't exist - for example, requesting the feature dataset name for a standalone feature class - will result in an error.

See Also

IDatasetName2 Interface