共用方式為


BulkDeleteRequest.QuerySet 屬性

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) 成員都具備執行緒安全。任何執行個體成員都不保證具備執行緒安全。

平台

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008、Windows Server 2012、Windows 7

請參閱

參照

BulkDeleteRequest 類別
BulkDeleteRequest 成員
Microsoft.Crm.Sdk.Messages 命名空間

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