The HasSchedule property reports whether a schedule exists for a SQL Server Agent job.
object.HasSchedule
object
Expression that evaluates to an object in the Applies To list
Boolean
Read-only
HRESULT GetHasSchedule(LPBOOL pRetVal);
If TRUE, the job has at least one schedule. Query the JobSchedules collection to evaluate which schedule is enabled for the job.
If FALSE, the job has no schedule. The JobSchedules collection will be empty.