CurrentRunStatus propriété

Gets the current execution status of the job.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property CurrentRunStatus As JobExecutionStatus
    Get
'Utilisation
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

Valeur de la propriété

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