Compartir a través de


CurrentRunStatus Propiedad

Gets the current execution status of the job.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<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 de la propiedad

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