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
provider
Type: System.Workflow.ComponentModel.ActivityExecutionContextThe context that is associated with the activity.
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.