Поделиться через


Свойство JobSchedule.FrequencyTypes

Gets or sets the way in which frequency is evaluated for the job schedule, whether it's one time only, or weekly, or when the processor is idle, for example.

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

Синтаксис

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

value = instance.FrequencyTypes

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

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

Тип: Microsoft.SqlServer.Management.Smo.Agent.FrequencyTypes
A FrequencyTypes object value that specifies the way that the frequency of the scheduled job is evaluated.

Замечания

The frequency of the scheduled job can be hourly, daily, weekly, monthly, on certain days of the week that occur in the month, one time only, or when SQL Server starts or is idle, for example.

Примеры

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

См. также

Справочник

JobSchedule Класс

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

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

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

sp_add_schedule (Transact-SQL)