다음을 통해 공유


JobSchedule.FrequencyRecurrenceFactor 속성

Gets or sets the number of weeks or months between scheduled jobs for schedules with a weekly or monthly frequency type, respectively.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FrequencyRecurrenceFactor As Integer 
    Get 
    Set
‘사용 방법
Dim instance As JobSchedule 
Dim value As Integer 

value = instance.FrequencyRecurrenceFactor

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

속성 값

유형: System.Int32
An integer value that specifies the number of units of the unit type indicated by the FrequencyTypes property, which specifies the time between scheduled jobs.

주의

The FrequencyRecurrenceFactor property is evaluated for JobSchedule objects with FrequencyTypes values FrequencyType.Weekly, FrequencyType.Monthly, and FrequencyType.MonthlyRelative.

For example, when FrequencyTypes is FrequencyType.Weekly, FrequencyRecurrenceFactor indicates a number of weeks. Setting FrequencyRecurrenceFactor to 2 specifies that the job is scheduled to occur every other week.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobSchedule 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_add_schedule(Transact-SQL)