Share via


TimeSheetPeriod class

inherits members from ClientObject

Represents a defined period of time on a timesheet.

Syntax

CSOM

class TimeSheetPeriod 

JSOM

PS.TimeSheetPeriod

REST Interface

Supported.

PS.TimeSheetPeriod

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/TimeSheetPeriods('{periodid}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
End DateTime Gets the end date of a timesheet period.
Id Guid Gets the GUID of the timesheet period.
Name String Gets the name of the timesheet period.
Start DateTime Gets the start date of the timesheet period.
TimeSheet TimeSheet Gets the timesheet that is associated with the timesheet period.

Methods

Name .NET JSOM REST Return Type Description
CreateTimeSheet() TimeSheet Creates a new TimeSheet object.

#### Method Details

CreateTimeSheet()

Creates a new TimeSheet object.

Syntax
TimeSheet CreateTimeSheet()
Parameters

None

Return Value

TimeSheet

See Also

TimeSheet
TimeSheetPeriodCollection