Метод Resource.ReadResourceListByDepartment
Возвращает уникальные имена идентификаторов и ресурсы в рамках данного подразделения, для которого пользователь имеет разрешения.
Пространство имен: WebSvcResource
Сборка: ProjectServerServices (в ProjectServerServices.dll)
Синтаксис
'Декларация
<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
'Применение
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
)
Параметры
- departmentUid
Тип: System.Nullable<Guid>
Возвращаемое значение
Тип: WebSvcResource.ResourceDataSet
Возвращает ResourceDataSet.
Замечания
Разрешения Project Server
Разрешение |
Описание |
---|---|
Позволяет пользователю войти в Project Server. Глобальное разрешение. |