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。全局权限。 |