IRelatedEnd.TargetRoleName Property

Definition

Gets the role name at the target end of the relationship.

public string TargetRoleName { get; }

Property Value

The role name at the target end of the relationship.

Remarks

The RelatedEnd class implements the TargetRoleName property. For more information, see TargetRoleName.

The role name is specified by the Role attribute of the End element in the association that defines this relationship in the conceptual model. For more information, see Association Element (CSDL).

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1