次の方法で共有


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