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


IMSDHelper.GetDataset Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMSDHelper.GetDataset Method

Given the layer's catalog path, returns the dataset name.

[Visual Basic .NET]
Public Function GetDataset ( _
    ByVal layerPath As String _
) As String
[C#]
public string GetDataset (
    string layerPath
);
[C++]
HRESULT GetDataset(
  BSTR layerPath,
  BSTR* DatasetName
);
[C++]

Parameters layerPath [in] layerPath is a parameter of type BSTR DatasetName [out, retval] DatasetName is a parameter of type BSTR

Product Availability

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

See Also

IMSDHelper Interface