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
- workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext
Information that is related to the current instance of the workflow that is being processed.
- 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.