Resource.ReadResourceListByDepartment method
傳回指定部門的使用者具有權限內的唯一識別項和資源名稱。
Namespace: WebSvcResource
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'宣告
<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
Type: System.Nullable<Guid>
傳回值
Type: WebSvcResource.ResourceDataSet
傳回ResourceDataSet。
備註
專案伺服器權限
權限 |
說明 |
---|---|
可讓使用者登入的專案伺服器。通用的權限。 |