Свойство JobSchedule.FrequencySubDayInterval

Gets or sets the interval between scheduled jobs that run during the day.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FrequencySubDayInterval As Integer 
    Get 
    Set
'Применение
Dim instance As JobSchedule 
Dim value As Integer 

value = instance.FrequencySubDayInterval

instance.FrequencySubDayInterval = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int FrequencySubDayInterval { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int FrequencySubDayInterval {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FrequencySubDayInterval : int with get, set
function get FrequencySubDayInterval () : int 
function set FrequencySubDayInterval (value : int)

Значение свойства

Тип: System.Int32
An integer value that specifies the interval between scheduled jobs that run during the day.

Замечания

The FrequencySubDayInterval property 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.

Примеры

Планирование автоматических административных задач в агенте SQL Server

См. также

Справочник

JobSchedule Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Agent

Другие ресурсы

Задачи автоматизированного администрирования (агент SQL Server)

sp_add_schedule (Transact-SQL)