Compartilhar via


Propriedade SharedSchedules

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(JobSchedule))> _
Public ReadOnly Property SharedSchedules As JobScheduleCollection
    Get
'Uso
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

Valor da propriedade

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

Comentários

Essa propriedade foi introduzida no SQL Server 2005.