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


IMapServerRelationship.Name Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServerRelationship.Name Property

The name of the relationship.

[Visual Basic .NET]
Public ReadOnly Property Name As String
[C#]
public string Name {get;}
[C++]
HRESULT get_Name(
  BSTR* Name
);
[C++]

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

Product Availability

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

Remarks

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