共用方式為


SPWorkflowTaskProperties.SendEmailNotification Property

Gets or sets a value that indicates whether to send email notifications.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property SendEmailNotification As Boolean
    Get
    Set
'Usage
Dim instance As SPWorkflowTaskProperties
Dim value As Boolean

value = instance.SendEmailNotification

instance.SendEmailNotification = value
public bool SendEmailNotification { get; set; }

Property Value

Type: System.Boolean
true if the email notifications are sent; otherwise, false.

See Also

Reference

SPWorkflowTaskProperties Class

SPWorkflowTaskProperties Members

Microsoft.SharePoint.Workflow Namespace