共用方式為


JobSchedule.FrequencyRelativeIntervals 屬性

Gets or sets the ordinal value of a day relative to the first day of the month, such as first, second, or last.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FrequencyRelativeIntervals As FrequencyRelativeIntervals 
    Get 
    Set
'用途
Dim instance As JobSchedule 
Dim value As FrequencyRelativeIntervals 

value = instance.FrequencyRelativeIntervals

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Agent.FrequencyRelativeIntervals
A FrequencyRelativeIntervals object value that specifies the ordinal value of the day of the month relative to the first day of the month. Values are first, second, third, fourth, and last.

範例

使用 SQL Server Agent 排程自動管理工作

請參閱

參考

JobSchedule 類別

Microsoft.SqlServer.Management.Smo.Agent 命名空間

其他資源

自動化管理工作 (SQL Server Agent)

sp_add_schedule (Transact-SQL)