SharedSchedules プロパティ

JobSchedule オブジェクトのコレクションを表します。各 JobSchedule オブジェクトは、SQL Server エージェントで定義された共有スケジュールを表します。

名前空間:  Microsoft.SqlServer.Management.Smo.Agent
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(JobSchedule))> _
Public ReadOnly Property SharedSchedules As JobScheduleCollection
    Get
'使用
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

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobScheduleCollection
SQL Server エージェントで定義された共有スケジュールを表す JobScheduleCollection です。

説明

このプロパティは SQL Server 2005 で導入されました。