Admin.ReadPeriods Method
Reads information about timesheet periods of the specified state.
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
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadPeriods", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadPeriods ( _
p0 As PeriodState _
) As TimePeriodDataSet
'Usage
Dim instance As Admin
Dim p0 As PeriodState
Dim returnValue As TimePeriodDataSet
returnValue = instance.ReadPeriods(p0)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadPeriods", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public TimePeriodDataSet ReadPeriods(
PeriodState p0
)
Parameters
- p0
Type: [Admin Web service].PeriodState
Timesheet state enumeration: All, Closed, or Open.
Return Value
Type: [Admin Web service].TimePeriodDataSet
Contains information about the timesheet periods of the state that is specified by the p0 parameter.
Remarks
Project Server Permissions
Permission |
Description |
---|---|
Allows a user to log on to Project Server. Global permission. |