BulkDeleteRequest.QuerySet Property

Definition

Gets or sets an array of queries for a bulk delete job. Required.

public:
 property cli::array <Microsoft::Xrm::Sdk::Query::QueryExpression ^> ^ QuerySet { cli::array <Microsoft::Xrm::Sdk::Query::QueryExpression ^> ^ get(); void set(cli::array <Microsoft::Xrm::Sdk::Query::QueryExpression ^> ^ value); };
public Microsoft.Xrm.Sdk.Query.QueryExpression[] QuerySet { get; set; }
member this.QuerySet : Microsoft.Xrm.Sdk.Query.QueryExpression[] with get, set
Public Property QuerySet As QueryExpression()

Property Value

The array of queries for a bulk delete job.

Remarks

The bulk delete job deletes the records that match the conditions that are specified in the queries.

When you use the QuerySet property, the value in the PageInfo property is ignored. Instead, the system uses the query expression and creates a new PagingInfo object to retrieve up to 1000 records at a time. The process increments the page by 1 until all records that are included in the query are processed. You should modify the query as needed to match the exact set of records that you want to delete.

Applies to