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權限。通用權限。 |