Partager via


BulkDeleteRequest.SendEmailNotification Property

Definition

Gets or sets a value that indicates whether an email notification is sent after the bulk delete job has finished running. Required.

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

Property Value

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 Template, Bulk Deletion Task Completed With Failure Template, or Bulk Deletion Task Failed Template. To customize these email templates, see Create templates for email and Customize an email template using the template editor.

Applies to