Метод Workflow.RunProjectWorkflow
Запускает указанный экземпляр рабочего процесса Project Server.
Пространство имен: WebSvcWorkflow
Сборка: ProjectServerServices (в ProjectServerServices.dll)
Синтаксис
'Декларация
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/RunProjectWorkflow", 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 RunProjectWorkflow ( _
projectUid As Guid _
)
'Применение
Dim instance As Workflow
Dim projectUid As Guid
instance.RunProjectWorkflow(projectUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/RunProjectWorkflow", 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 RunProjectWorkflow(
Guid projectUid
)
Параметры
projectUid
Тип: System.GuidGUID проекта.
Замечания
Разрешения Project Server
Разрешение |
Описание |
---|---|
Нестандартные |
Пользователи должны иметь разрешение категории OpenProject для указанного проекта. |