Resource.ReadDelegations 方法
讀取用來管理的資源委派資訊。
命名空間: WebSvcResource
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<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
類型:WebSvcResource.DelegationFilter
- resUid
類型:System.Guid
傳回值
類型:WebSvcResource.UserDelegationDataSet
會傳回UserDelegationDataSet。
備註
Project Server 權限
權限 |
描述 |
---|---|
非標準 |
您必須具有 [ ManageWorkflow ] 或 [ ChangeWorkflow ] 通用權限。如果您有ChangeWorkflow權限,您也必須同時OpenProject和SaveProject類別權限。 |