This document is archived and information here might be outdated.  Recommended version.

IMapServerRelationship.Name Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerRelationship Interface > IMapServerRelationship.Name Property
ArcGIS Developer Help

IMapServerRelationship.Name Property

The name of the relationship.

[Visual Basic .NET]
Public ReadOnly Property Name As String
public string Name {get;}
HRESULT get_Name(
  System.String* Name
Name [out, retval]

Name is a parameter of type BSTR*

Product Availability

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


Name refers to the name of relationship set in the map document or in the GeoDatabase. For example, a relationship may be named "Is owned by". If the layer is related to another layer, Layer A is related to Layer B, Name will be appended with ":Layer B". The full Name in this example would be "Is owned by: Layer B". If the layer is related to a table, Name does not contain the table name. Using the example above, Name would be "Is owned by". Name from IMapServerRow refers to the string value of the Primary Display Field of the related table or layer.

See Also

IMapServerRelationship Interface