Propriété JobServer.SharedSchedules

Represents a collection of JobSchedule objects. Each JobSchedule object represents a shared schedule defined on SQL Server Agent.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(JobSchedule))> _
Public ReadOnly Property SharedSchedules As JobScheduleCollection 
    Get
'Utilisation
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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Agent.JobScheduleCollection
A JobScheduleCollection that represents the shared schedules defined on SQL Server Agent.

Notes

Cette propriété a été introduite dans SQL Server 2005.

Exemples

Planification des tâches administratives automatiques dans l'Agent SQL Server

Voir aussi

Référence

JobServer Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Agent

Autres ressources

Tâches d'administration automatisée (Agent SQL Server)

sp_help_schedule (Transact-SQL)