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.


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

public QueryBase[] QuerySet {get; set;}

Property Value

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


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.


Web service: CrmService

See Also


© 2010 Microsoft Corporation. All rights reserved.