Partager via


Propriété BulkDeleteRequest.QuerySet

S'applique à: CRM 2015 on-prem, CRM Online

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

Espace de noms: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (dans Microsoft.Crm.Sdk.Proxy.dll)

Syntaxe

'Déclaration
Public Property QuerySet As QueryExpression()
public QueryExpression[] QuerySet { get; set; }

Valeur de propriété

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

Remarques

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.

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Classe BulkDeleteRequest
Membres BulkDeleteRequest
Espace de noms Microsoft.Crm.Sdk.Messages

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