Share 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.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobSchedule Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_help_schedule (Transact-SQL)