This document is archived and information here might be outdated. Recommended version. |
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
);
[C++] Parameters Name [in]
Name is a parameter of type BSTR
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.