Admin.ReadLineClasses Method

Reads all timesheet line class names, according to the specified type and state of the timesheet line.

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("http://schemas.microsoft.com/office/project/server/webservices/Admin/ReadLineClasses", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    ResponseNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Admin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadLineClasses ( _
    type As LineClassType, _
    classState As LineClassState _
) As TimesheetLineClassDataSet
'Usage
Dim instance As Admin
Dim type As LineClassType
Dim classState As LineClassState
Dim returnValue As TimesheetLineClassDataSet

returnValue = instance.ReadLineClasses(type, _
    classState)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Admin/ReadLineClasses", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Admin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public TimesheetLineClassDataSet ReadLineClasses(
    LineClassType type,
    LineClassState classState
)

Parameters

Return Value

Type: [Admin Web service].TimesheetLineClassDataSet
Contains the timesheet line information.

Remarks

Project Server Permissions

Permission

Description

LogOn

Allows a user to log on to Project Server. Global permission.

See Also

Reference

Admin Class

Admin Members

Admin Web Service