Partilhar via


Propriedade CurrentRunStatus

Gets the current execution status of the job.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property CurrentRunStatus As JobExecutionStatus
    Get
'Uso
Dim instance As Job
Dim value As JobExecutionStatus

value = instance.CurrentRunStatus
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public JobExecutionStatus CurrentRunStatus { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property JobExecutionStatus CurrentRunStatus {
    JobExecutionStatus get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member CurrentRunStatus : JobExecutionStatus
function get CurrentRunStatus () : JobExecutionStatus

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobExecutionStatus
A JobExecutionStatus object value that specifies the current execution status of the job.