다음을 통해 공유


JobExecutionsOperationsExtensions.ListByAgent Method

Definition

Lists all executions in a job agent.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution> ListByAgent (this Microsoft.Azure.Management.Sql.IJobExecutionsOperations operations, string resourceGroupName, string serverName, string jobAgentName, DateTime? createTimeMin = default, DateTime? createTimeMax = default, DateTime? endTimeMin = default, DateTime? endTimeMax = default, bool? isActive = default, int? skip = default, int? top = default);
static member ListByAgent : Microsoft.Azure.Management.Sql.IJobExecutionsOperations * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.JobExecution>
<Extension()>
Public Function ListByAgent (operations As IJobExecutionsOperations, resourceGroupName As String, serverName As String, jobAgentName As String, Optional createTimeMin As Nullable(Of DateTime) = Nothing, Optional createTimeMax As Nullable(Of DateTime) = Nothing, Optional endTimeMin As Nullable(Of DateTime) = Nothing, Optional endTimeMax As Nullable(Of DateTime) = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing) As IPage(Of JobExecution)

Parameters

operations
IJobExecutionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String

The name of the server.

jobAgentName
String

The name of the job agent.

createTimeMin
Nullable<DateTime>

If specified, only job executions created at or after the specified time are included.

createTimeMax
Nullable<DateTime>

If specified, only job executions created before the specified time are included.

endTimeMin
Nullable<DateTime>

If specified, only job executions completed at or after the specified time are included.

endTimeMax
Nullable<DateTime>

If specified, only job executions completed before the specified time are included.

isActive
Nullable<Boolean>

If specified, only active or only completed job executions are included.

skip
Nullable<Int32>

The number of elements in the collection to skip.

top
Nullable<Int32>

The number of elements to return from the collection.

Returns

Applies to