Compartir a través de


CurrentRunStep Propiedad

Gets information about the job step that is currently running.

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 CurrentRunStep As String
    Get
'Uso
Dim instance As Job
Dim value As String

value = instance.CurrentRunStep
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public string CurrentRunStep { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property String^ CurrentRunStep {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member CurrentRunStep : string
function get CurrentRunStep () : String

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the job step that is currently running.

Notas

For executing jobs, the property reports the job step by number, and the name of the job step as a string, for example: 2 (Run Replication Agent.).