JobSchedule.FrequencySubDayTypes Property

 

Gets or sets the unit of time used to specify the interval between scheduled jobs that run during the day.

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

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public FrequencySubDayTypes FrequencySubDayTypes { get; set; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.FrequencySubDayTypes

A FrequencySubDayTypes object value that specifies the unit of time used to specify the interval between scheduled jobs that run during the day.

The FrequencySubDayInterval has meaning only when the FrequencyTypes property of the JobSchedule object is set to FrequencyType.Daily and the FrequencySubDayTypes property is set to FrequencySubDayType.Hour or FrequencySubDayType.Minute.

For example, to schedule an activity for daily occurrence, every 15 minutes, set FrequencyTypes to FrequencyType.Daily, set FrequencySubDayTypes to FrequencySubDayType.Minute, and set FrequencySubDayInterval to 15.

Return to top
Show: