ArcObjects Library Reference (Geoprocessing)  

IDEUtilities.OpenDatasetFromLocation Method

Returns the dataset by catalog path.

[Visual Basic .NET]
Public Function OpenDatasetFromLocation ( _
    ByVal catalogPath As String, _
    ByVal pDataType As IGPDataType _
) As IDataset
[C#]
public IDataset OpenDatasetFromLocation (
    string catalogPath,
    IGPDataType pDataType
);
[C++]
HRESULT OpenDatasetFromLocation(
  BSTR catalogPath,
  IGPDataType* pDataType,
  IDataset** ppDataset
);
[C++]

Parameters

catalogPath [in]   catalogPath is a parameter of type BSTR pDataType [in]

  pDataType is a parameter of type IGPDataType

ppDataset [out, retval]

  ppDataset is a parameter of type IDataset

Product Availability

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

See Also

IDEUtilities Interface