QueueSystem.ReadAllJobStatusSimple Method
Gets the status of all Project Server Queuing Service jobs within the specified dates.
Namespace: [QueueSystem Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/QueueSystem.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/QueueSystem.asmx?wsdl
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadAllJobStatusSimple", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadAllJobStatusSimple ( _
fromDate As DateTime, _
toDate As DateTime, _
maxRows As Integer, _
includeWaitTime As Boolean, _
sortColumn As SortColumn, _
sortOrder As SortOrder _
) As QueueStatusDataSet
'Usage
Dim instance As QueueSystem
Dim fromDate As DateTime
Dim toDate As DateTime
Dim maxRows As Integer
Dim includeWaitTime As Boolean
Dim sortColumn As SortColumn
Dim sortOrder As SortOrder
Dim returnValue As QueueStatusDataSet
returnValue = instance.ReadAllJobStatusSimple(fromDate, _
toDate, maxRows, includeWaitTime, _
sortColumn, sortOrder)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/ReadAllJobStatusSimple", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public QueueStatusDataSet ReadAllJobStatusSimple(
DateTime fromDate,
DateTime toDate,
int maxRows,
bool includeWaitTime,
SortColumn sortColumn,
SortOrder sortOrder
)
Parameters
- fromDate
Type: System.DateTime
Minimum date and time of queue jobs.
- toDate
Type: System.DateTime
Maximum date and time of queue jobs.
- maxRows
Type: System.Int32
Maximum number of job status rows to return.
- includeWaitTime
Type: System.Boolean
If true, include the expected job wait time.
- sortColumn
Type: [QueueSystem Web service].SortColumn
Specifies which field to sort in the list of jobs.
- sortOrder
Type: [QueueSystem Web service].SortOrder
Specifies whether to sort and in what order.
Return Value
Type: [QueueSystem Web service].QueueStatusDataSet
Status of the requested jobs, with the QueueStatusDataSet.StatusRow data for each job.
Remarks
For examples of job status requests and resulting data, see ReadJobStatus and ReadJobStatusSimple.
Project Server Permissions
Permission |
Description |
---|---|
Allows the user to manage the Project Server queue. Global permission. |