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("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadLineClasses", 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 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("https://schemas.microsoft.com/office/project/server/webservices/Admin/ReadLineClasses", 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 TimesheetLineClassDataSet ReadLineClasses(
LineClassType type,
LineClassState classState
)
Parameters
- type
Type: [Admin Web service].LineClassType
The type of timesheet line (Regular, NonProject, NonWork, AllNonProject, or All).
- classState
Type: [Admin Web service].LineClassState
The state of the timesheet line (Enabled, Disabled, or All).
Return Value
Type: [Admin Web service].TimesheetLineClassDataSet
Contains the timesheet line information.
Remarks
Project Server Permissions
Permission |
Description |
---|---|
Allows a user to log on to Project Server. Global permission. |