This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyContainer Interface > ITopologyContainer.TopologyByName Property (ArcObjects .NET 10.4 SDK) |
The topology with the specified name.
[Visual Basic .NET] Public Function get_TopologyByName ( _ ByVal Name As String _ ) As ITopology
[C#] public ITopology get_TopologyByName ( string Name );
[C++]
HRESULT get_TopologyByName(
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
FDO_E_TOPOLOGY_NOT_FOUND: No Topology with the specified name exists in the Feature Dataset. Use the IWorkspace2::NameExists property to determine if a Topology with the specified name exists.
The TopologyByName property will return a reference to the topology with the specified name. For ArcSDE Geodatabases, both the fully qualified name and unqualified name can be used to return topologies. If different users own topologies with the same unqualified names in the ArcSDE Geodatabase, using the unqualified name will return the topology owned by the current user.