RetrieveMultipleRequest.Query Property

Definition

Gets or sets the query criteria for the retrieval. Required.

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

QueryBase

Type: QueryBaseThe query criteria for the retrieval.

Remarks

Assign an instance of the FetchExpression, QueryExpression, or QueryByAttribute class. The query must specify entity names and a column set. If the column set includes attributes where IsValidForRead is false, they are ignored, and the message response contains no data for those attributes. You can find this information in the metadata for your organization. See the preceding metadata browser information.

Applies to