共用方式為


TimesheetEnum.PreloadType Enumeration

Indicates the lines to preload into a timesheet.

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

Syntax

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

Members

Member name Description
None Value=0. 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=8. Use the server settings.

Remarks

Test these values with a binary and.

For more information, see the CreateTimesheet PSI method.

See Also

Reference

Microsoft.Office.Project.Server.Library Namespace