共用方式為


Workflow.SetWorkflowStageStatusInformation 方法

設定工作流程階段的狀態資訊。

命名空間:  WebSvcWorkflow
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/SetWorkflowStageStatusInformation", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Workflow/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Workflow/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub SetWorkflowStageStatusInformation ( _
    projUid As Guid, _
    workflowStageUid As Guid, _
    statusInformation As String, _
    stageStatusValue As Integer, _
    append As Boolean _
)
'用途
Dim instance As Workflow
Dim projUid As Guid
Dim workflowStageUid As Guid
Dim statusInformation As String
Dim stageStatusValue As Integer
Dim append As Boolean

instance.SetWorkflowStageStatusInformation(projUid, _
    workflowStageUid, statusInformation, _
    stageStatusValue, append)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/SetWorkflowStageStatusInformation", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Workflow/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Workflow/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void SetWorkflowStageStatusInformation(
    Guid projUid,
    Guid workflowStageUid,
    string statusInformation,
    int stageStatusValue,
    bool append
)

參數

  • workflowStageUid
    類型:System.Guid

    階段的 GUID。

  • statusInformation
    類型:System.String

    String階段狀態的相關註解。

  • append
    類型:System.Boolean

    會指定是否要附加至STAGE_INFO欄位中的上一個資料的狀態資訊。如果False,會刪除任何先前的資訊。

備註

Project Server 權限

權限

描述

非標準

使用者必須具有OpenProject類別權限與指定之專案的SaveProject 」 類別權限。

請參閱

參照

Workflow 類別

Workflow 成員

WebSvcWorkflow 命名空間