共用方式為


SPWebApplication.EmailToNoPermissionWorkflowParticipantsEnabled Property

Gets or sets a Boolean value that specifies whether to alert users without site permissions when they have been assigned workflow tasks.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property EmailToNoPermissionWorkflowParticipantsEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.EmailToNoPermissionWorkflowParticipantsEnabled

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

Property Value

Type: System.Boolean
true if users without site permissions should be alerted when they are assigned workflow tasks; otherwise, false. The default value is true.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace