Job.NextRunDate Property
Gets the date and time when the job is next scheduled to run.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property NextRunDate As DateTime
Get
'Usage
Dim instance As Job
Dim value As DateTime
value = instance.NextRunDate
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public DateTime NextRunDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property DateTime NextRunDate {
DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member NextRunDate : DateTime
function get NextRunDate () : DateTime
Property Value
Type: System.DateTime
A DateTime value that specifies the date and time when the job is next scheduled to run.
See Also