Споделяне чрез


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

The 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 columns where AttributeMetadata.IsValidForRead is false, they are ignored, and the message response contains no data for those columns. You can find this information in the metadata for your organization. Learn to view detailed table definition data in your environment.

Applies to