Resource.ReadDelegations method
讀取用來管理資源的委派資訊。
Namespace: WebSvcResource
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegations", 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 ReadDelegations ( _
filter As DelegationFilter, _
resUid As Guid _
) As UserDelegationDataSet
'用途
Dim instance As Resource
Dim filter As DelegationFilter
Dim resUid As Guid
Dim returnValue As UserDelegationDataSet
returnValue = instance.ReadDelegations(filter, _
resUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegations", 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 UserDelegationDataSet ReadDelegations(
DelegationFilter filter,
Guid resUid
)
參數
- filter
Type: WebSvcResource.DelegationFilter
- resUid
Type: System.Guid
傳回值
Type: WebSvcResource.UserDelegationDataSet
傳回UserDelegationDataSet。
備註
專案伺服器權限
Permission |
描述 |
---|---|
非標準 |
您必須擁有的ManageWorkflow或ChangeWorkflow的通用權限。如果您有ChangeWorkflow的權限,您也必須OpenProject和SaveProject類別權限。 |