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 );
Parameters
catalogPath [in]
catalogPath is a parameter of type BSTR
ppDataset [out, retval]
ppDataset is a parameter of type IDataset
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].