共用方式為


JobExecution Constructors

Definition

Overloads

JobExecution()

Initializes a new instance of the JobExecution class.

JobExecution(String, String, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Guid>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<DateTime>, String, JobExecutionTarget)

Initializes a new instance of the JobExecution class.

JobExecution()

Initializes a new instance of the JobExecution class.

public JobExecution ();
Public Sub New ()

Applies to

JobExecution(String, String, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Guid>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<DateTime>, String, JobExecutionTarget)

Initializes a new instance of the JobExecution class.

public JobExecution (string id = default, string name = default, string type = default, int? jobVersion = default, string stepName = default, int? stepId = default, Guid? jobExecutionId = default, string lifecycle = default, string provisioningState = default, DateTime? createTime = default, DateTime? startTime = default, DateTime? endTime = default, int? currentAttempts = default, DateTime? currentAttemptStartTime = default, string lastMessage = default, Microsoft.Azure.Management.Sql.Models.JobExecutionTarget target = default);
new Microsoft.Azure.Management.Sql.Models.JobExecution : string * string * string * Nullable<int> * string * Nullable<int> * Nullable<Guid> * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Nullable<DateTime> * string * Microsoft.Azure.Management.Sql.Models.JobExecutionTarget -> Microsoft.Azure.Management.Sql.Models.JobExecution
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional jobVersion As Nullable(Of Integer) = Nothing, Optional stepName As String = Nothing, Optional stepId As Nullable(Of Integer) = Nothing, Optional jobExecutionId As Nullable(Of Guid) = Nothing, Optional lifecycle As String = Nothing, Optional provisioningState As String = Nothing, Optional createTime As Nullable(Of DateTime) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional currentAttempts As Nullable(Of Integer) = Nothing, Optional currentAttemptStartTime As Nullable(Of DateTime) = Nothing, Optional lastMessage As String = Nothing, Optional target As JobExecutionTarget = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

jobVersion
Nullable<Int32>

The job version number.

stepName
String

The job step name.

stepId
Nullable<Int32>

The job step id.

jobExecutionId
Nullable<Guid>

The unique identifier of the job execution.

lifecycle
String

The detailed state of the job execution. Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', 'Skipped'

provisioningState
String

The ARM provisioning state of the job execution. Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled'

createTime
Nullable<DateTime>

The time that the job execution was created.

startTime
Nullable<DateTime>

The time that the job execution started.

endTime
Nullable<DateTime>

The time that the job execution completed.

currentAttempts
Nullable<Int32>

Number of times the job execution has been attempted.

currentAttemptStartTime
Nullable<DateTime>

Start time of the current attempt.

lastMessage
String

The last status or error message.

target
JobExecutionTarget

The target that this execution is executed on.

Applies to