TimeSheet.ApproveProjectTimesheetLines 方法
核准或拒絕專案時程表列一組。
命名空間: WebSvcTimeSheet
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ApproveProjectTimesheetLines", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub ApproveProjectTimesheetLines ( _
approvedTimesheetLines As Guid(), _
rejectedTimesheetLines As Guid(), _
comment As String _
)
'用途
Dim instance As TimeSheet
Dim approvedTimesheetLines As Guid()
Dim rejectedTimesheetLines As Guid()
Dim comment As String
instance.ApproveProjectTimesheetLines(approvedTimesheetLines, _
rejectedTimesheetLines, comment)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ApproveProjectTimesheetLines", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void ApproveProjectTimesheetLines(
Guid[] approvedTimesheetLines,
Guid[] rejectedTimesheetLines,
string comment
)
參數
- approvedTimesheetLines
類型:[]
- rejectedTimesheetLines
類型:[]
- comment
類型:System.String
備註
Project Server 權限
權限 |
描述 |
---|---|
可讓使用者核准 project 時程表列。通用權限。 |