Delen via


JobSchedule.JobCount Property

Gets the number of jobs that require the referenced job schedule.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property JobCount As Integer
    Get
'Usage
Dim instance As JobSchedule
Dim value As Integer

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

Property Value

Type: System.Int32
An Int32 value that specifies the number of jobs that require the referenced job schedule.