Dela via


JobSchedule.EnumJobReferences Method

Returns an enumerated list of jobs that reference the schedule.

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

Syntax

'Declaration
Public Function EnumJobReferences As Guid()
'Usage
Dim instance As JobSchedule
Dim returnValue As Guid()

returnValue = instance.EnumJobReferences()
public Guid[] EnumJobReferences()
public:
array<Guid>^ EnumJobReferences()
member EnumJobReferences : unit -> Guid[] 
public function EnumJobReferences() : Guid[]

Return Value

Type: array<System.Guid[]
A Guid system object array that identifies the jobs that reference the schedule.