Share via


Job.NextRunScheduleID Property

Gets the ID value of the schedule that is responsible for the next execution of the job.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property NextRunScheduleID As Integer
    Get
'Usage
Dim instance As Job
Dim value As Integer

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

Property Value

Type: System.Int32
An Int32 value that specifies the ID value of the schedule that next runs the job.

Remarks

The ID value is generated by Microsoft SQL Server and is stored in the system tables.