Freigeben über


PSWorkflowService.SetProjectStage-Methode

Aktualisiert die aktuelle Phase des Project Server-Workflows.

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
)

Parameter

  • stageUid
    Typ: System.Guid

    Die GUID der die Workflowstufe.

  • leavingStage
    Typ: System.Boolean

    False , wenn der Workflow die Phase eingegeben hat; true , wenn der Workflow die Phase verlässt.

Implementiert

IPSWorkflowService.SetProjectStage(ProjectWorkflowContext, Guid, Boolean)

Siehe auch

Referenz

PSWorkflowService Klasse

PSWorkflowService-Member

Microsoft.Office.Project.Server.Workflow-Namespace