Partager 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

<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property WorkflowProperties As SPWorkflowActivationProperties
    Get
    Set

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 Windows SharePoint Services Overview

Workflow Initiation in Windows SharePoint Services

Workflow Association and Initiation Forms (Windows SharePoint Services)