BulkDeleteRequest.QuerySet 属性

应用到: CRM 2015 on-prem, CRM Online

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

命名空间: Microsoft.Crm.Sdk.Messages
程序集: Microsoft.Crm.Sdk.Proxy (在 Microsoft.Crm.Sdk.Proxy.dll 中)

语法

声明
Public Property QuerySet As QueryExpression()
public QueryExpression[] QuerySet { get; set; }

属性值

Type: QueryExpression
The array of queries for a bulk delete job.

备注

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

The query must specify entity names and a column set. If the column set includes attributes where IsValidForRead is false or for which you don’t have access, they are ignored. For more information about field security, see How Field Security Can Be Used to Control Access to Field Values in Microsoft Dynamics CRM.

When you use the QuerySet property, the value in the QueryExpression.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.

线程安全性

此类型的所有公共静态(Visual Basic 中的 Shared)成员都是线程安全成员。不保证任何实例成员是线程安全成员。

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows Vista,Windows XP

另请参阅

参考

BulkDeleteRequest 类
BulkDeleteRequest 成员
Microsoft.Crm.Sdk.Messages 命名空间

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.