Partager via


BulkDeleteRequest.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 bulk delete job has finished 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 bulk deletion is finished or has failed; otherwise, false.

Remarks

If you set this property to true, the caller must have prvCreateEmailTemplate and prvReadEmailTemplate privileges in addition to the privileges that are needed to delete the entity instances. If you specify to send an email notification, you must also specify a value for the ToRecipients property. The email notification is based on these email templates: Bulk Deletion Task Completion , Bulk Deletion Task Completed With Failure, or Bulk Deletion Task Failed. To customize these 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 Email Templates.

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),

See Also

Reference

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

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