Share via


PSWorkflowService.SetProjectStage method

Updates the current stage of the Project Server workflow.

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
Public Sub SetProjectStage ( _
    workflowContext As ProjectWorkflowContext, _
    stageUid As Guid, _
    leavingStage As Boolean _
)
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim stageUid As Guid
Dim leavingStage As Boolean

instance.SetProjectStage(workflowContext, _
    stageUid, leavingStage)
public void SetProjectStage(
    ProjectWorkflowContext workflowContext,
    Guid stageUid,
    bool leavingStage
)

Parameters

  • stageUid
    Type: System.Guid

    The GUID of the workflow stage.

  • leavingStage
    Type: System.Boolean

    False if the workflow is entering the stage; true if the workflow is leaving the stage.

Implements

IPSWorkflowService.SetProjectStage(ProjectWorkflowContext, Guid, Boolean)

See also

Reference

PSWorkflowService class

PSWorkflowService members

Microsoft.Office.Project.Server.Workflow namespace