Admin.ReadLineClasses method
Reads all timesheet line class names, according to the specified type and state of the timesheet line.
Namespace: WebSvcAdmin
Assembly: ProjectServerServices (in ProjectServerServices.dll)
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: WebSvcAdmin.LineClassTypeThe type of timesheet line (Regular, NonProject, NonWork, AllNonProject, or All).
classState
Type: WebSvcAdmin.LineClassStateThe state of the timesheet line (Enabled, Disabled, or All).
Return value
Type: WebSvcAdmin.TimesheetLineClassDataSet
Contains the timesheet line information.
Remarks
Project Server Permissions
Permission |
Description |
---|---|
Allows a user to log on to Project Server. Global permission. |