OrganizationServiceContextExtensions.BulkDelete Kaedah

Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online

Submits an asynchronous bulk delete job. (Developer Extensions)

Ruang nama: Microsoft.Xrm.Client.Messages
Perhimpunan: Microsoft.Xrm.Client (dalam Microsoft.Xrm.Client.dll)

'Penggunaan
Dim context As OrganizationServiceContext
Dim querySet As QueryExpression()
Dim jobName As String
Dim sendEmailNotification As Boolean
Dim toRecipients As Guid()
Dim cCRecipients As Guid()
Dim recurrencePattern As String
Dim startDateTime As DateTime
Dim sourceImportId As Nullable(Of Guid)
Dim returnValue As Guid

returnValue = OrganizationServiceContextExtensions.BulkDelete(context, querySet, jobName, sendEmailNotification, toRecipients, cCRecipients, recurrencePattern, startDateTime, sourceImportId)

[ExtensionAttribute] 
public static Guid BulkDelete (
	OrganizationServiceContext context,
	QueryExpression[] querySet,
	string jobName,
	bool sendEmailNotification,
	Guid[] toRecipients,
	Guid[] cCRecipients,
	string recurrencePattern,
	DateTime startDateTime,
	Nullable<Guid> sourceImportId
)

Parameter

context

The organization service context.

querySet

An array of queries for a bulk delete job.

jobName

The name of an asynchronous bulk delete job.

sendEmailNotification

Indicates whether an email notification is sent after the bulk delete job has finished running.

toRecipients

cCRecipients

An array of IDs for the system users (users) who are listed in the Cc box of the email notification.

recurrencePattern

The recurrence pattern for the bulk delete job.

startDateTime

sourceImportId

Nilai Pulangan

Returns a Guid, the ID of an asynchronous bulk delete job that performs a bulk deletion.

This is a method wrapper for the BulkDeleteRequest and BulkDeleteResponse classes. See the documentation in the Request class for more information about this message.


Sebarang ahli statik awam (Shared dalam Visual Basic) jenis ini adalah selamat rentetan. Dalam apa jua keadaan, ahli tidak dijamin selamat rentetan.

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

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