Project.ReadProjectListByDepartment method
Retorna os nomes de todos os projetos dentro do departamento especificado para o qual o usuário tem permissão de OpenProject e GUIDs.
Namespace: WebSvcProject
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaração
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectListByDepartment", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadProjectListByDepartment ( _
departmentUid As Nullable(Of Guid) _
) As ProjectDataSet
'Uso
Dim instance As Project
Dim departmentUid As Nullable(Of Guid)
Dim returnValue As ProjectDataSet
returnValue = instance.ReadProjectListByDepartment(departmentUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectListByDepartment", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ProjectDataSet ReadProjectListByDepartment(
Nullable<Guid> departmentUid
)
Parâmetros
- departmentUid
Type: System.Nullable<Guid>
Valor retornado
Type: WebSvcProject.ProjectDataSet
Contém a lista de projetos para o departamento especificado.
Comentários
ReadProjectListByDepartment é um novo método de Project Server 2013.
Permissões do Project Server
Permissão |
Descrição |
---|---|
Permite que um usuário faça logon no Project Server. Permissão global. |