PSWorkflowService.UpdateCurrentStageStatusInformation Method
Sets a stage status value and information for the current stage.
Namespace: Microsoft.Office.Project.Server.Workflow
Assembly: Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)
Syntax
'Declaration
Public Sub UpdateCurrentStageStatusInformation ( _
workflowContext As ProjectWorkflowContext, _
statusInformation As String, _
stageStatusValue As UpdateProjectStageStatusFieldValue, _
append As Boolean _
)
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim statusInformation As String
Dim stageStatusValue As UpdateProjectStageStatusFieldValue
Dim append As Boolean
instance.UpdateCurrentStageStatusInformation(workflowContext, _
statusInformation, stageStatusValue, _
append)
public void UpdateCurrentStageStatusInformation(
ProjectWorkflowContext workflowContext,
string statusInformation,
UpdateProjectStageStatusFieldValue stageStatusValue,
bool append
)
Parameters
- workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext
Information that is related to the current instance of the workflow that is being processed.
- statusInformation
Type: System.String
Information about the stage status.
- stageStatusValue
Type: Microsoft.Office.Project.Server.Library.UpdateProjectStageStatusFieldValue
The stage status value to set. It uses one of the Workflow.StageStatus constants.
- append
Type: System.Boolean
True if the statusInformation value is to be appended; false if the statusInformation value is to be replaced.