Udostępnij za pośrednictwem


BulkDeleteRequest.SendEmailNotification Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, 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

public bool SendEmailNotification { 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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright