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


IGeoDataServer.DataElements Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

IGeoDataServer.DataElements Property

The data elements in the workspace.

[Visual Basic .NET]
Public Function get_DataElements ( _
    ByVal pBrowseOptions As IDEBrowseOptions _
) As IDataElements
[C#]
public IDataElements get_DataElements (
    IDEBrowseOptions pBrowseOptions
);
[C++]
HRESULT get_DataElements(
  IDEBrowseOptions* pBrowseOptions,
  IDataElements** DataElements
);
[C++]

Parameters pBrowseOptions [in]
pBrowseOptions is a parameter of type IDEBrowseOptions DataElements [out, retval]
DataElements is a parameter of type IDataElements

Product Availability

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

Remarks

The DataElements method  returns an array of data elements that describe the schema of the geodatabase referenced by the GeoDataServer. 

The depth of the description is determined by the options passed in the pBrowseOptions parameter. Setting the expandtype to esriDEExpandType.esriDEExpandChildren will return data elements at the base level of the connection. If you set the expandtype to esriDEExpandType.esriDEExpandDescendants, you can also get data elements for the feature classes and data structures inside the feature datasets.

See Also

IGeoDataServer Interface