OrganizationServiceContextExtensions.BulkDetectDuplicates Kaedah

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

Submits an asynchronous duplicates detection job. (Developer Extensions)

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

'Penggunaan
Dim context As OrganizationServiceContext
Dim query As QueryBase
Dim jobName As String
Dim sendEmailNotification As Boolean
Dim templateId As Guid
Dim toRecipients As Guid()
Dim cCRecipients As Guid()
Dim recurrencePattern As String
Dim recurrenceStartTime As DateTime
Dim returnValue As Guid

returnValue = OrganizationServiceContextExtensions.BulkDetectDuplicates(context, query, jobName, sendEmailNotification, templateId, toRecipients, cCRecipients, recurrencePattern, recurrenceStartTime)

[ExtensionAttribute] 
public static Guid BulkDetectDuplicates (
	OrganizationServiceContext context,
	QueryBase query,
	string jobName,
	bool sendEmailNotification,
	Guid templateId,
	Guid[] toRecipients,
	Guid[] cCRecipients,
	string recurrencePattern,
	DateTime recurrenceStartTime
)

Parameter

context

The organization service context.

query

An array of queries to detect multiple duplicate records. Required.

jobName

The name of the asynchronous system job that detects and logs multiple duplicate records. Required.

sendEmailNotification

A value that indicates whether an email notification is sent after the asynchronous system job that detects multiple duplicate records finishes running. Required.

templateId

The the template (email template) that is used for the email notification.

toRecipients

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

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 asynchronous system job that detects multiple duplicate records. Optional.

recurrenceStartTime

The start date and time of an asynchronous system job that detects and logs multiple duplicate records. Optional.

Nilai Pulangan

Returns a Guid, the ID of an asynchronous bulk detect duplicates job that detects and logs duplicate records.

This is a method wrapper for the BulkDetectDuplicatesRequest and BulkDetectDuplicatesResponse 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: