Resource.ReadResourceListByDepartment - Méthode
Renvoie les noms ressources et les identificateurs uniques au sein d'un service donné pour lequel un utilisateur dispose des autorisations.
Espace de noms : WebSvcResource
Assembly : ProjectServerServices (dans ProjectServerServices.dll)
Syntaxe
'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadResourceListByDepartment", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Resource/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Resource/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadResourceListByDepartment ( _
departmentUid As Nullable(Of Guid) _
) As ResourceDataSet
'Utilisation
Dim instance As Resource
Dim departmentUid As Nullable(Of Guid)
Dim returnValue As ResourceDataSet
returnValue = instance.ReadResourceListByDepartment(departmentUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadResourceListByDepartment", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Resource/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Resource/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ResourceDataSet ReadResourceListByDepartment(
Nullable<Guid> departmentUid
)
Paramètres
- departmentUid
Type : System.Nullable<Guid>
Valeur renvoyée
Type : WebSvcResource.ResourceDataSet
Cette propriété renvoie ResourceDataSet.
Remarques
Autorisations Project Server
Autorisation |
Description |
---|---|
Permet à un utilisateur de se connecter à Project Server. Autorisation globale. |