次の方法で共有


PSWorkflowService.SetInitialStages Method

Used internally. Updates the status information for the stages in a 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 SetInitialStages ( _
    workflowContext As ProjectWorkflowContext, _
    stageInfo As DataSet _
)
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim stageInfo As DataSet

instance.SetInitialStages(workflowContext, _
    stageInfo)
public void SetInitialStages(
    ProjectWorkflowContext workflowContext,
    DataSet stageInfo
)

Parameters

Implements

IPSWorkflowService.SetInitialStages(ProjectWorkflowContext, DataSet)

Remarks

The SetInitialStages method first writes the following message to the ULS log: "Entering SetInitialStages for workflow: projectUid = <GUID>, SiteId = <GUID>, InstanceId = <GUID>".

After getting a reference to the PSI and updating the workflow status for the initial stages, the SetInitialStages method writes the following message to the ULS log: "Leaving SetInitialStages for workflow: projectUid = <GUID>, SiteId = <GUID>, InstanceId = <GUID>".

See Also

Reference

PSWorkflowService Class

PSWorkflowService Members

Microsoft.Office.Project.Server.Workflow Namespace