Condividi tramite


IPSWorkflowService.SetProjectStage method

Updates the current stage of the Project Server workflow.

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

Syntax

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

instance.SetProjectStage(workflowContext, _
    stageUid, leavingStage)
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.

See also

Reference

IPSWorkflowService interface

IPSWorkflowService members

Microsoft.Office.Project.Server.Library namespace