del método Project.ReadProjectListByDepartment
Devuelve los GUID y los nombres de todos los proyectos dentro del departamento especificado para la que el usuario tiene permiso de OpenProject .
Espacio de nombres: WebSvcProject
Ensamblado: ProjectServerServices (en ProjectServerServices.dll)
Sintaxis
'Declaración
<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
Tipo: System.Nullable<Guid>
Valor devuelto
Tipo: WebSvcProject.ProjectDataSet
Contiene la lista de proyectos para el departamento de especificado.
Comentarios
ReadProjectListByDepartment es un nuevo método en Project Server 2013.
Permisos de Project Server
Permiso |
Descripción |
---|---|
Permite que un usuario inicie sesión en Project Server. Permiso global. |