Partager via


PreloadType Enumeration

Indicates which lines to preload into a timesheet.

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
<SerializableAttribute> _
Public Enumeration PreloadType
'Usage
Dim instance As PreloadType
[SerializableAttribute]
public enum PreloadType

Members

Member name Description
None Value=8. No lines are populated.
AdminTimes Value=1. Populate only with admin times.
Projects Value=2. Populate only with projects.
AdminTimesAndProjects Value=3. Populate with admin times and projects.
Assignments Value=4. Populate only with assignments.
AdminTimesAndAssignments Value=5. Populate with admin times and assignments.
ProjectsAndAssignments Value=6. Populate with projects and assignments.
All Value=7. Populate all possible settings.
Default Value=0. Use the server settings.

Remarks

These values can be tested with a binary and.

For more information, see the CreateTimesheet PSI method.

Note

The Microsoft.Office.Project.Server.Library namespace also includes the TimesheetEnum.PreloadType type.

See Also

Reference

TimeSheet Web Service