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
- workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext
Information that is related to the current instance of the workflow that is being processed.
- stageInfo
Type: System.Data.DataSet
Contains the list of the workflow stages.
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>".