Admin.ReadPeriods method
Reads information about timesheet periods of the specified state.
Namespace: WebSvcAdmin
Assembly: ProjectServerServices (in ProjectServerServices.dll)
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: WebSvcAdmin.PeriodStateTimesheet state enumeration: All, Closed, or Open.
Return value
Type: WebSvcAdmin.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. |