WorkflowActivities.UpdateProjectStageStatus method
Updates the status value and the status information for a Project Server workflow stage.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Sub UpdateProjectStageStatus ( _
projectId As Guid, _
stageId As Guid, _
statusInformation As String, _
stageStatusValue As UpdateProjectStageStatusFieldValue, _
append As Boolean _
)
'Usage
Dim instance As WorkflowActivities
Dim projectId As Guid
Dim stageId As Guid
Dim statusInformation As String
Dim stageStatusValue As UpdateProjectStageStatusFieldValue
Dim append As Boolean
instance.UpdateProjectStageStatus(projectId, _
stageId, statusInformation, stageStatusValue, _
append)
[RemoteAttribute]
public void UpdateProjectStageStatus(
Guid projectId,
Guid stageId,
string statusInformation,
UpdateProjectStageStatusFieldValue stageStatusValue,
bool append
)
Parameters
projectId
Type: System.GuidThe GUID of the project.
stageId
Type: System.GuidThe GUID of the workflow stage.
statusInformation
Type: System.StringThe status information value to update.
stageStatusValue
Type: Microsoft.ProjectServer.Client.UpdateProjectStageStatusFieldValueThe stage status value to set; can be one of the constants in the UpdateProjectStageStatusFieldValue enumeration.
append
Type: System.BooleanTrue if the information text is appended; false if the information text is replaced.
Remarks
A Project Server workflow can call the UpdateProjectStageStatus method.