TimesheetEnum.ListSelect enumeration

Office 2013 and later

Filter timesheets returned by the ReadTimesheetList method.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

public enum ListSelect

Member nameDescription
InProgressValue=1. Select timesheets with InProgress status.
SubmittedValue=2. Select timesheets with Submitted status.
AcceptableValue=4. Select timesheets with Acceptable status.
ApprovedValue=8. Select timesheets with Approved status.
RejectedValue=16. Select timesheets with Rejected status.
AllExistingValue=31. Select all timesheets.
AllPeriodsValue=32. Select all timesheets plus an empty record for each period with no timesheet.
CreatedByMeValue=64. Select timesheets you created.
PendingSubmitValue=128. Select timesheets that are pending submission.

Use a TimesheetEnum.ListSelect value for the select parameter in ReadTimesheetList.You can combine the ListSelect values with the OR operation to filter for a combination of properties. For example, the AllExisting member value of 31 is the value of InProgress | Submitted | Acceptable | Approved | Rejected.

The CreatedByMe filter can select timesheets that you created for someone else, for example, where you are the surrogate user. For example, to select all timesheets you created that are in progress, set the select parameter to CreatedByMe | InProgress.