共用方式為


TimeSheet.SubmitTimesheetLines 方法

會送出進行核准的時程表列。

命名空間:  WebSvcTimeSheet
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/SubmitTimesheetLines", 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 SubmitTimesheetLines ( _
    timesheetLines As Guid(), _
    comment As String _
)
'用途
Dim instance As TimeSheet
Dim timesheetLines As Guid()
Dim comment As String

instance.SubmitTimesheetLines(timesheetLines, _
    comment)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/SubmitTimesheetLines", 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 SubmitTimesheetLines(
    Guid[] timesheetLines,
    string comment
)

參數

  • timesheetLines
    類型:[]

備註

這是一種新的Project Server 2010方法。

Project Server 權限

權限

描述

非標準。

目前的使用者是時程表擁有者,或必須能夠檢視或建立替代時程表。

請參閱

參照

TimeSheet 類別

TimeSheet 成員

WebSvcTimeSheet 命名空間