QueueSystem.ReadAllJobStatusSimple 方法
获取指定日期内的所有 Project Server 队列服务作业的状态。
命名空间: WebSvcQueueSystem
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<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
用法
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
)
参数
fromDate
类型:System.DateTime最小的日期和时间的队列作业。
toDate
类型:System.DateTime最大的日期和时间的队列作业。
maxRows
类型:System.Int32作业状态要返回的行的最大数量。
includeWaitTime
类型:System.Boolean如果true,包括预期的工作等待时间。
sortColumn
类型:WebSvcQueueSystem.SortColumn指定要排序的作业列表中的字段。
sortOrder
类型:WebSvcQueueSystem.SortOrder指定是否为排序和在什么次序。
返回值
类型:WebSvcQueueSystem.QueueStatusDataSet
对于每个作业的QueueStatusDataSet.StatusRow数据的请求作业的状态。
备注
有关作业状态请求和生成的数据的示例,请参阅ReadJobStatus和ReadJobStatusSimple。
Project Server 权限
权限 |
说明 |
---|---|
允许用户管理 Project Server 队列。全局权限。 |