Share via


TimesheetEnum.ListSelect Enumeration

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)

Syntax

'Declaration
Public Enumeration ListSelect
'Usage
Dim instance As TimesheetEnum.ListSelect
public enum ListSelect

Members

Member name Description
InProgress Value=1. Select timesheets with InProgress status.
Submitted Value=2. Select timesheets with Submitted status.
Acceptable Value=4. Select timesheets with Acceptable status.
Approved Value=8. Select timesheets with Approved status.
Rejected Value=16. Select timesheets with Rejected status.
AllExisting Value=31. Select all timesheets.
AllPeriods Value=32. Select all timesheets plus an empty record for each period with no timesheet.
CreatedByMe Value=64. Select timesheets you created.
PendingSubmit Value=128. Select timesheets that are pending submission.

Remarks

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.

See Also

Reference

Microsoft.Office.Project.Server.Library Namespace