共用方式為


SPWorkflowTaskProperties.OnBehalfEmail Property

Gets or sets the destination email address to which information about the task and the workflow item are sent as an email message.

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

Syntax

'Declaration
Public Property OnBehalfEmail As String
    Get
    Set
'Usage
Dim instance As SPWorkflowTaskProperties
Dim value As String

value = instance.OnBehalfEmail

instance.OnBehalfEmail = value
public string OnBehalfEmail { get; set; }

Property Value

Type: System.String
A string that represents the destination email address.

Exceptions

Exception Condition
ArgumentException

The value is not a null reference (Nothing in Visual Basic) and is larger than the text field.

See Also

Reference

SPWorkflowTaskProperties Class

SPWorkflowTaskProperties Members

Microsoft.SharePoint.Workflow Namespace