ArcObjects Library Reference (GeoDatabase)  

IFeatureWorkspace.OpenFeatureDataset Method

Opens an existing feature dataset.

[Visual Basic .NET]
Public Function OpenFeatureDataset ( _
    ByVal Name As String _
) As IFeatureDataset
[C#]
public IFeatureDataset OpenFeatureDataset (
    string Name
);
[C++]
HRESULT OpenFeatureDataset(
  BSTR Name,
  IFeatureDataset** Dataset
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR Dataset [out, retval]

  Dataset is a parameter of type IFeatureDataset

Product Availability

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

Remarks

The OpenFeatureDataset method can be used to open any existing feature dataset in the workspace given its fully qualified name.

Use the IDatabaseConnectionInfo interface to determine the User and Database (if applicable).  ISQLSyntax::QualifyTableName can be used to determine the fully qualified name for a feature dataset.

See Also

IFeatureWorkspace Interface

.NET Snippets

Set Data Source | Open Network Dataset

.NET Samples

Closest facility solver (Code Files: frmClosestFacilitySolver) | Service area solver (Code Files: frmServiceAreaSolver) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Route layer (Code Files: Program)

.NET Related Topics

Checking for topology error features in a geodatabase topology | Creating a topology in the geodatabase | How to create a multimodal network dataset | How to create a network dataset