ArcObjects Library Reference  (Geoprocessing)    

IGPUtilities.OpenDatasetFromLocation Method

Opens the dataset object from the given catalog path.

[Visual Basic 6.0]
Function OpenDatasetFromLocation(
    ByVal catalogPath As String _
) As IDataset
[Visual Basic .NET]
Public Function OpenDatasetFromLocation ( _
    ByVal catalogPath As String _
) As IDataset
[C#]
public IDataset OpenDatasetFromLocation (
    string catalogPath
);
[Java]
public IDataset openDatasetFromLocation (
    String catalogPath
)
throws
    IOException,
    AutomationException
[C++]
HRESULT OpenDatasetFromLocation(
  BSTR catalogPath,
  IDataset** ppDataset
);
[C++]

Parameters

catalogPath [in]

  catalogPath is a parameter of type BSTR

ppDataset [out, retval]

  ppDataset is a parameter of type IDataset

Product Availability

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

Remarks

The OpenDatasetFromLocation method provides a quick way to get a dataset from its location path string. It takes in an ArcCatalog path string and returns a Dataset object [IDataset].

See Also

IGPUtilities Interface

 


Feedback Send feedback on this page