Dela via


BulkDeleteRequest.SendEmailNotification Property

 

Applies To: Dynamics CRM 2015

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

public bool SendEmailNotification { get; set; }
public:
property bool SendEmailNotification {
    bool get();
    void set(bool value);
}
member SendEmailNotification : bool with get, set
Public Property SendEmailNotification As Boolean

Property Value

Type: System.Boolean

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.

See Also

BulkDeleteRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright