次の方法で共有


PeriodState Enumeration

Specifies the state of a timesheet period for an action.

Namespace:  [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl

Syntax

'Declaration
<SerializableAttribute> _
Public Enumeration PeriodState
'Usage
Dim instance As PeriodState
[SerializableAttribute]
public enum PeriodState

Members

Member name Description
Open Value=0. Open timesheet periods.
Closed Value=1. Closed timesheet periods.
All Value=2. All timesheet periods.

Remarks

An example of an action is retrieving a list of timesheet periods

The ReadPeriods method uses the PeriodState type.

Note

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

See Also

Reference

Admin Web Service