Aracılığıyla paylaş


Job.CurrentRunStatus Property

Gets the current execution status of the job.

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property CurrentRunStatus As JobExecutionStatus
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)] 
public JobExecutionStatus CurrentRunStatus { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)] 
public:
property JobExecutionStatus CurrentRunStatus {
    JobExecutionStatus get ();
}
/** @property */
public JobExecutionStatus get_CurrentRunStatus ()
public function get CurrentRunStatus () : JobExecutionStatus

Property Value

A JobExecutionStatus object value that specifies the current execution status of the job.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.