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 命名空间