Project.ReadProjectListByDepartment - Méthode
Renvoie le GUID et les noms de tous les projets au sein du département spécifié pour lequel l'utilisateur a le droit de OpenProject .
Espace de noms : WebSvcProject
Assembly : ProjectServerServices (dans ProjectServerServices.dll)
Syntaxe
'Déclaration
<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
'Utilisation
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
)
Paramètres
- departmentUid
Type : System.Nullable<Guid>
Valeur renvoyée
Type : WebSvcProject.ProjectDataSet
Contient la liste des projets du service spécifié.
Remarques
ReadProjectListByDepartment est une nouvelle méthode dans Project Server 2013.
Autorisations Project Server
Autorisation |
Description |
---|---|
Permet à un utilisateur de se connecter à Project Server. Autorisation globale. |