JobSchedule.JobCount プロパティ

参照先のジョブ スケジュールを必要とするジョブの数を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo.Agent
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property JobCount As Integer 
    Get
'使用
Dim instance As JobSchedule 
Dim value As Integer 

value = instance.JobCount
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public int JobCount { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property int JobCount {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member JobCount : int
function get JobCount () : int

プロパティ値

型: System.Int32
参照先のジョブ スケジュールを必要とするジョブの数を示す Int32 値です。

使用例

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

関連項目

参照

JobSchedule クラス

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

その他の技術情報

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

sp_add_schedule (Transact-SQL)