Compartir a través de


TimeSheet.ReadLateTimesheets Method

Gets the set of timesheets that are considered late for the current user.

Namespace:  [TimeSheet Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/TimeSheet.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/TimeSheet.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ReadLateTimesheets", 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 ReadLateTimesheets ( _
    date As DateTime _
) As TimesheetListDataSet
'Usage
Dim instance As TimeSheet
Dim date As DateTime
Dim returnValue As TimesheetListDataSet

returnValue = instance.ReadLateTimesheets(date)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/TimeSheet/ReadLateTimesheets", 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 TimesheetListDataSet ReadLateTimesheets(
    DateTime date
)

Parameters

  • date
    Type: System.DateTime
    The time period cutoff date and time. Time periods before this date and time are included.

Return Value

Type: [TimeSheet Web service].TimesheetListDataSet

Remarks

The current resource must have a manager for the timesheets to appear in this method.

This method uses the QueueSystem object. The CorrelationGUID property for the job is equal to the value of the TS_UID property.

Project Server Permissions

Permission

Description

LogOn

Allows the user to log on to Project Server. Global permission.

See Also

Reference

TimeSheet Class

TimeSheet Members

TimeSheet Web Service