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)

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