DisassociateRequest.Relationship Property

Definition

Get or sets the name of the relationship to be used for the disassociation. Required.

public:
 property Microsoft::Xrm::Sdk::Relationship ^ Relationship { Microsoft::Xrm::Sdk::Relationship ^ get(); void set(Microsoft::Xrm::Sdk::Relationship ^ value); };
public Microsoft.Xrm.Sdk.Relationship Relationship { get; set; }
member this.Relationship : Microsoft.Xrm.Sdk.Relationship with get, set
Public Property Relationship As Relationship

Property Value

The name of the relationship to be used for the disassociation.

Remarks

The relationship name can be found in the RelationshipMetadataBase.SchemaName property property of the relationship definition. Both OneToManyRelationshipMetadata and ManyToManyRelationshipMetadata classes inherit this property.

Applies to