Compartir a través de


SharedSchedules Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<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 de la propiedad

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