JobSchedule.FrequencySubDayInterval プロパティ

当日中に実行されるようにスケジュールされたジョブの間隔を取得または設定します。

名前空間:  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
当日中に実行されるようにスケジュールされたジョブの間隔を示す整数値です。

説明

FrequencySubDayInterval プロパティは、JobSchedule オブジェクトの FrequencyTypes プロパティが FrequencyType.Daily に設定され、FrequencySubDayTypes プロパティが FrequencySubDayType.Hour または FrequencySubDayType.Minute に設定された場合にのみ意味を持ちます。

たとえば、毎日 15 分ごとに実行されるようにスケジュールするには、FrequencyTypes を FrequencyType.Daily に、FrequencySubDayTypes を FrequencySubDayType.Minute に、FrequencySubDayInterval を 15 に、それぞれ設定します。

使用例

SQL Server エージェントでの自動管理タスクのスケジュール設定

関連項目

参照

JobSchedule クラス

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

その他の技術情報

管理タスクの自動化 (SQL Server エージェント)

sp_add_schedule (Transact-SQL)