Share via


RetrieveRequest.RelatedEntitiesQuery Property

Definition

Gets or sets the query that describes the related records to be retrieved. Optional.

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

Property Value

The query that describes the related records to be retrieved.

Remarks

This property value is a collection of link-entity/query pairs. For each relationship between the Target entity and another entity, you can specify a query for the records that are related to the Target record.

Applies to