BulkDeleteRequest.QuerySet Property

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Gets or sets an array of queries for the bulk delete operation.

Syntax

[Visual Basic .NET]
Public Property QuerySet As QueryBase()

[C#]
public QueryBase[] QuerySet {get; set;}

Property Value

The value of this property is an array of QueryBase type.

Remarks

The asynchronous bulk delete job deletes the entity instances that match the conditions that are specified in the queries.

Assign an instance of the QueryExpression class or the QueryByAttribute class. The query must specify entity names and a column set. If the column set includes attributes that are not valid for retrieve, they will be ignored.

Note   The QueryExpression.PagingInfo or QueryByAttribute.PagingInfo property is ignored. The system uses the query expression and creates a new PagingInfo object to retrieve 1000 records at a time. The process increments the page by 1 until all records included in the query have been processed. You should modify the query as needed to create the exact set of records to be deleted.

Requirements

Web service: CrmService

See Also

Reference

© 2010 Microsoft Corporation. All rights reserved.