This document is archived and information here might be outdated.  Recommended version.


IDatasetName2.ControllerNames Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatasetName2 Interface > IDatasetName2.ControllerNames Property
ArcGIS Developer Help

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