This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyWorkspace Interface > ITopologyWorkspace.OpenTopology Method (ArcObjects .NET 10.4 SDK) |
Opens and returns the topology with the specified name.
[Visual Basic .NET] Public Function OpenTopology ( _ ByVal Name As String _ ) As ITopology
[C#] public ITopology OpenTopology ( string Name );
[C++]
HRESULT OpenTopology(
BSTR Name,
ITopology** Topology
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR Topology [out, retval]
Topology is a parameter of type ITopology
The OpenTopology method can be used to open any existing topology in the workspace given its fully qualified name. Note that every topology in a geodatabase has a unique 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 topology. Use the IWorkspace2::NameExists method to determine if a topology with the appropriate name exists in the geodatabase.