你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SqlServerJobExecutionCollection.GetAll 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetAll(SqlServerJobExecutionCollectionGetAllOptions, CancellationToken) |
列出作业的执行。
|
GetAll(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, CancellationToken) |
列出作业的执行。
|
GetAll(SqlServerJobExecutionCollectionGetAllOptions, CancellationToken)
列出作业的执行。
- 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions
- 操作IdJobExecutions_ListByJob
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionResource> GetAll (Azure.ResourceManager.Sql.Models.SqlServerJobExecutionCollectionGetAllOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Azure.ResourceManager.Sql.Models.SqlServerJobExecutionCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionResource>
override this.GetAll : Azure.ResourceManager.Sql.Models.SqlServerJobExecutionCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionResource>
Public Overridable Function GetAll (options As SqlServerJobExecutionCollectionGetAllOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlServerJobExecutionResource)
参数
包含此方法的所有参数(LRO 限定符和请求上下文参数除外)的属性包。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
的集合 SqlServerJobExecutionResource ,可能需要多个服务请求才能循环访问。
适用于
GetAll(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, CancellationToken)
列出作业的执行。
- 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/jobs/{jobName}/executions
- 操作IdJobExecutions_ListByJob
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionResource> GetAll (DateTimeOffset? createTimeMin = default, DateTimeOffset? createTimeMax = default, DateTimeOffset? endTimeMin = default, DateTimeOffset? endTimeMax = default, bool? isActive = default, int? skip = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionResource>
override this.GetAll : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlServerJobExecutionResource>
Public Overridable Function GetAll (Optional createTimeMin As Nullable(Of DateTimeOffset) = Nothing, Optional createTimeMax As Nullable(Of DateTimeOffset) = Nothing, Optional endTimeMin As Nullable(Of DateTimeOffset) = Nothing, Optional endTimeMax As Nullable(Of DateTimeOffset) = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlServerJobExecutionResource)
参数
- createTimeMin
- Nullable<DateTimeOffset>
如果指定,则仅包括指定时间或之后创建的作业执行。
- createTimeMax
- Nullable<DateTimeOffset>
如果已指定,则仅包含在指定时间之前创建的作业执行。
- endTimeMin
- Nullable<DateTimeOffset>
如果指定,则仅包含指定时间或之后完成的作业执行。
- endTimeMax
- Nullable<DateTimeOffset>
如果指定,则只包括指定时间之前完成的作业执行。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
的集合 SqlServerJobExecutionResource ,可能需要多个服务请求才能循环访问。