JobServer.SharedSchedules Property
Represents a collection of JobSchedule objects. Each JobSchedule object represents a shared schedule defined on SQL Server Agent.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(JobSchedule))> _
Public ReadOnly Property SharedSchedules As JobScheduleCollection
Get
'Usage
Dim instance As JobServer
Dim value As JobScheduleCollection
value = instance.SharedSchedules
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(JobSchedule))]
public JobScheduleCollection SharedSchedules { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(JobSchedule))]
public:
property JobScheduleCollection^ SharedSchedules {
JobScheduleCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(JobSchedule))>]
member SharedSchedules : JobScheduleCollection
function get SharedSchedules () : JobScheduleCollection
Property Value
Type: Microsoft.SqlServer.Management.Smo.Agent.JobScheduleCollection
A JobScheduleCollection that represents the shared schedules defined on SQL Server Agent.
See Also