Gets or sets the date and time when the schedule ends.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Scheduled SQL Server Agent jobs can have start and end dates. A job is run only between the start date and time and the end date and time. Alter theproperty to set the date when the schedule is no longer in effect.
If theproperty has not been set, the DateTime.MinValue is returned.
Return to top