Partilhar via


OnWorkflowActivated.WorkflowProperties Property

Gets or sets an SPWorkflowActivationProperties object that represents the initial properties of the workflow as it starts, such as the user who added the workflow, and the list and item to which the workflow was added.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property WorkflowProperties As SPWorkflowActivationProperties
    Get
    Set
'Usage
Dim instance As OnWorkflowActivated
Dim value As SPWorkflowActivationProperties

value = instance.WorkflowProperties

instance.WorkflowProperties = value
[ValidationOptionAttribute(ValidationOption.Required)]
public SPWorkflowActivationProperties WorkflowProperties { get; set; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties

Remarks

The InitiationData property returns a string that represents the custom data provided by the workflow initiation form.

See Also

Reference

OnWorkflowActivated Class

OnWorkflowActivated Members

Microsoft.SharePoint.WorkflowActions Namespace

Other Resources

Workflow Activities for SharePoint Foundation

Workflow Initiation in SharePoint Foundation

Workflow Association and Initiation Forms (Sharepoint Foundation)