Statusing.DelegateAssignments 方法
委派给其他资源的一个或多个工作分配。
命名空间: WebSvcStatusing
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/DelegateAssignments", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Statusing/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Statusing/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub DelegateAssignments ( _
assignmentDataSet As DelegationDataSet, _
startDate As DateTime, _
comment As String _
)
用法
Dim instance As Statusing
Dim assignmentDataSet As DelegationDataSet
Dim startDate As DateTime
Dim comment As String
instance.DelegateAssignments(assignmentDataSet, _
startDate, comment)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/DelegateAssignments", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Statusing/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Statusing/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void DelegateAssignments(
DelegationDataSet assignmentDataSet,
DateTime startDate,
string comment
)
参数
assignmentDataSet
类型:WebSvcStatusing.DelegationDataSet使用信息进行了更新以反映新的委派DelegationDataSet对象。
startDate
类型:System.DateTime当该资源将启动此工作分配。
comment
类型:System.String发送电子邮件的更改通知的注释。
备注
委派的目标资源必须是企业资源。
通知不支持团队的委派。
Project Server 权限
权限 |
说明 |
---|---|
允许用户为任务分配资源。全局权限。 |
|
允许用户将任务分配给当前用户,如果当前的团队负责工作分配。用户不具有ReassignTask权限时才适用。全局权限。 |