Share via


ApplyActivation.Execute method

Updates the initial properties of the workflow.

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

Syntax

'Declaration
Protected Overrides Function Execute ( _
    provider As ActivityExecutionContext _
) As ActivityExecutionStatus
'Usage
Dim provider As ActivityExecutionContext
Dim returnValue As ActivityExecutionStatus

returnValue = Me.Execute(provider)
protected override ActivityExecutionStatus Execute(
    ActivityExecutionContext provider
)

Parameters

Return value

Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The status of the activity.

Remarks

The workflow runtime calls this override to update the initial properties of the workflow.

This override takes values from the __WorkflowProperties property, which represents the properties of the workflow instance when it first starts to run.

These values include the user who added the workflow and the Windows SharePoint Services 3.0 list item that corresponds to this workflow.

See also

Reference

ApplyActivation class

ApplyActivation members

Microsoft.SharePoint.WorkflowActions namespace