Share via


BulkDetectDuplicatesRequest.SendEmailNotification Property

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

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

Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

'Declaration
Public Property SendEmailNotification As Boolean
public bool SendEmailNotification { get; set; }

Property Value

Type: Boolean
true if an email notification should be sent after the job to detect multiple duplicate records is finished running or has failed; otherwise, false.

Remarks

If you set this property to true, the following requirements also apply:

  • The caller must have prvCreateEmailTemplate and prvReadEmailTemplate privileges in addition to the privileges that are needed to detect duplicate records.

  • You must specify a value for the ToRecipients property.

  • For the email notification, use the email template or custom email templates. To customize the email templates, see the Templates area of the web application. To access these templates, in the Navigation Pane, click Settings, click Templates, and then click E-mail Templates.

If you set the SendEmailNotification property to false, the TemplateId, ToRecipients, and CCRecipients properties are not used in the BulkDetectDuplicatesRequest class. We recommend that you set the unused properties to the following values:

TemplateId = Guid.Empty;
ToRecipients = new Guid[0];
CCRecipients = new Guid[0];

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

Change History

See Also

Reference

BulkDetectDuplicatesRequest Class
BulkDetectDuplicatesRequest Members
Microsoft.Crm.Sdk.Messages Namespace

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