RetrieveByGroupResourceRequest.Query Property

Definition

Gets or sets the query for the operation.

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

Property Value

The query for the operation.

Remarks

The query must specify the entity name "resource" and a column set. Any other specified conditions are merged (by using the AND operator) with the conditions that are needed to retrieve the resources for the specified resource group. If the column set includes attributes where IsValidForRead is false, they are ignored and the message response contains no data for those attributes.

Applies to