Share via


TimeSheet.SubmitTimesheetLines method

Submits timesheet lines for approval.

Namespace:  WebSvcTimeSheet
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<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 _
)
'Usage
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
)

Parameters

  • timesheetLines
    Type: []

Remarks

This is a new method in Project Server 2010.

Project Server Permissions

Permission

Description

Non-standard.

The current user is the timesheet owner, or must be able to view or create a surrogate timesheet.

See also

Reference

TimeSheet class

TimeSheet members

WebSvcTimeSheet namespace