Workflow.ReadEnterpriseProjectTypeListByDepartment Method
Allows the user to read the list of enterprise project types (EPTs) that are defined for the specified department.
Namespace: [Workflow Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Workflow.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Workflow.asmx?wsdl
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/ReadEnterpriseProjectTypeListByDepartment", 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 Function ReadEnterpriseProjectTypeListByDepartment ( _
departmentUid As Nullable(Of Guid) _
) As WorkflowDataSet
'Usage
Dim instance As Workflow
Dim departmentUid As Nullable(Of Guid)
Dim returnValue As WorkflowDataSet
returnValue = instance.ReadEnterpriseProjectTypeListByDepartment(departmentUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/ReadEnterpriseProjectTypeListByDepartment", 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 WorkflowDataSet ReadEnterpriseProjectTypeListByDepartment(
Nullable<Guid> departmentUid
)
Parameters
- departmentUid
Type: System.Nullable<Guid>
The GUID of the department.
Return Value
Type: [Workflow Web service].WorkflowDataSet
Remarks
Each WorkflowDataSet.EnterpriseProjectTypeRow in WorkflowDataSet.EnterpriseProjectTypeDataTable contains the information for one EPT.
Project Server Permissions
Permission |
Description |
---|---|
Allows the user to manage workflows. Global permission. |
|
Allows a user to change workflows. Global permission. |