共用方式為


JobSchedules 屬性

Gets a collection of JobSchedule objects that represent the schedules assigned to the job.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(JobSchedule))> _
Public ReadOnly Property JobSchedules As JobScheduleCollection
    Get
'用途
Dim instance As Job
Dim value As JobScheduleCollection

value = instance.JobSchedules
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(JobSchedule))]
public JobScheduleCollection JobSchedules { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(JobSchedule))]
public:
property JobScheduleCollection^ JobSchedules {
    JobScheduleCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(JobSchedule))>]
member JobSchedules : JobScheduleCollection
function get JobSchedules () : JobScheduleCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobScheduleCollection
A JobScheduleCollection object value that specifies a collection of JobSchedule objects.