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类别权限。 |