Share via


TimeSheet.ReadProjectTimesheetLines method

Reads timesheet lines.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ReadProjectTimesheetLines", 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 Function ReadProjectTimesheetLines ( _
    periodUID As Guid, _
    qryType As ProjectTimesheetLineQueryType _
) As ProjectTimesheetLinesDataSet
'Usage
Dim instance As TimeSheet
Dim periodUID As Guid
Dim qryType As ProjectTimesheetLineQueryType
Dim returnValue As ProjectTimesheetLinesDataSet

returnValue = instance.ReadProjectTimesheetLines(periodUID, _
    qryType)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ReadProjectTimesheetLines", 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 ProjectTimesheetLinesDataSet ReadProjectTimesheetLines(
    Guid periodUID,
    ProjectTimesheetLineQueryType qryType
)

Parameters

Return value

Type: WebSvcTimeSheet.ProjectTimesheetLinesDataSet

Remarks

New method in Project Server 2010.

Project Server Permissions

Permission

Description

ApproveProjectTimesheetLine

Allows a user to approve project timesheet lines. Global permission.

See also

Reference

TimeSheet class

TimeSheet members

WebSvcTimeSheet namespace