ActiveDirectorySchedule.SetSchedule ActiveDirectorySchedule.SetSchedule ActiveDirectorySchedule.SetSchedule ActiveDirectorySchedule.SetSchedule Method

定義

時刻範囲をスケジュールに追加します。Adds a range of times to the schedule.

オーバーロード

SetSchedule(DayOfWeek, HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek, HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek, HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek, HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour)

単一の日の時刻範囲をスケジュールに追加します。Adds a range of times for a single day to the schedule.

SetSchedule(DayOfWeek[], HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek[], HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek[], HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek[], HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour)

複数の日の時刻範囲をスケジュールに追加します。Adds a range of times for multiple days to the schedule.

SetSchedule(DayOfWeek, HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek, HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek, HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek, HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour)

単一の日の時刻範囲をスケジュールに追加します。Adds a range of times for a single day to the schedule.

public:
 void SetSchedule(DayOfWeek day, System::DirectoryServices::ActiveDirectory::HourOfDay fromHour, System::DirectoryServices::ActiveDirectory::MinuteOfHour fromMinute, System::DirectoryServices::ActiveDirectory::HourOfDay toHour, System::DirectoryServices::ActiveDirectory::MinuteOfHour toMinute);
public void SetSchedule (DayOfWeek day, System.DirectoryServices.ActiveDirectory.HourOfDay fromHour, System.DirectoryServices.ActiveDirectory.MinuteOfHour fromMinute, System.DirectoryServices.ActiveDirectory.HourOfDay toHour, System.DirectoryServices.ActiveDirectory.MinuteOfHour toMinute);
member this.SetSchedule : DayOfWeek * System.DirectoryServices.ActiveDirectory.HourOfDay * System.DirectoryServices.ActiveDirectory.MinuteOfHour * System.DirectoryServices.ActiveDirectory.HourOfDay * System.DirectoryServices.ActiveDirectory.MinuteOfHour -> unit
Public Sub SetSchedule (day As DayOfWeek, fromHour As HourOfDay, fromMinute As MinuteOfHour, toHour As HourOfDay, toMinute As MinuteOfHour)

パラメーター

day
DayOfWeek DayOfWeek DayOfWeek DayOfWeek

レプリケーションのためにソースが利用できるようになる曜日を指定する DayOfWeek メンバーの 1 つ。One of the DayOfWeek members that specifies the day of the week that the source will be available for replication.

fromHour
HourOfDay HourOfDay HourOfDay HourOfDay

レプリケーションのためにソースが利用できるようになる最初の 1 時間を指定する HourOfDay メンバーの 1 つ。One of the HourOfDay members that specifies the first hour that the source will be available for replication.

fromMinute
MinuteOfHour MinuteOfHour MinuteOfHour MinuteOfHour

レプリケーションのためにソースが利用できるようになる最初の 15 分間を指定する MinuteOfHour メンバーの 1 つ。One of the MinuteOfHour members that specifies the first 15-minute interval that the source will be available for replication.

toHour
HourOfDay HourOfDay HourOfDay HourOfDay

レプリケーションのためにソースが利用できるようになる最後の 1 時間を指定する HourOfDay メンバーの 1 つ。One of the HourOfDay members that specifies the final hour that the source will be available for replication.

toMinute
MinuteOfHour MinuteOfHour MinuteOfHour MinuteOfHour

レプリケーションのためにソースが利用できるようになる最後の 15 分間を指定する MinuteOfHour メンバーの 1 つ。One of the MinuteOfHour members that specifies the final 15-minute interval that the source will be available for replication.

例外

開始時間が終了時間の後になっています。The start time is after the end time.

1 つ以上のパラメーターが無効です。One or more parameters is not valid.

注釈

このメソッドのパラメーターのすべてが含まれます。All of the parameters in this method are inclusive.

このメソッドは、累積的な既存のスケジュール情報は削除されません。This method is cumulative and does not remove any existing schedule information. 既存のスケジュールと、新しいスケジュールが重なっている場合、結果は累積されます。If an existing schedule and the new schedule overlap, the result will still be cumulative. スケジュールをクリアするには、使用、ResetScheduleメソッド。To clear the schedule, use the ResetSchedule method.

こちらもご覧ください

SetSchedule(DayOfWeek[], HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek[], HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek[], HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) SetSchedule(DayOfWeek[], HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour)

複数の日の時刻範囲をスケジュールに追加します。Adds a range of times for multiple days to the schedule.

public:
 void SetSchedule(cli::array <DayOfWeek> ^ days, System::DirectoryServices::ActiveDirectory::HourOfDay fromHour, System::DirectoryServices::ActiveDirectory::MinuteOfHour fromMinute, System::DirectoryServices::ActiveDirectory::HourOfDay toHour, System::DirectoryServices::ActiveDirectory::MinuteOfHour toMinute);
public void SetSchedule (DayOfWeek[] days, System.DirectoryServices.ActiveDirectory.HourOfDay fromHour, System.DirectoryServices.ActiveDirectory.MinuteOfHour fromMinute, System.DirectoryServices.ActiveDirectory.HourOfDay toHour, System.DirectoryServices.ActiveDirectory.MinuteOfHour toMinute);
member this.SetSchedule : DayOfWeek[] * System.DirectoryServices.ActiveDirectory.HourOfDay * System.DirectoryServices.ActiveDirectory.MinuteOfHour * System.DirectoryServices.ActiveDirectory.HourOfDay * System.DirectoryServices.ActiveDirectory.MinuteOfHour -> unit
Public Sub SetSchedule (days As DayOfWeek(), fromHour As HourOfDay, fromMinute As MinuteOfHour, toHour As HourOfDay, toMinute As MinuteOfHour)

パラメーター

days
DayOfWeek[]

レプリケーションのためにソースが利用できるようになる曜日を指定する DayOfWeek メンバーの 1 つ。One of the DayOfWeek members that specifies the day of the week that the source will be available for replication.

fromHour
HourOfDay HourOfDay HourOfDay HourOfDay

レプリケーションのためにソースが利用できるようになる最初の 1 時間を指定する HourOfDay メンバーの 1 つ。One of the HourOfDay members that specifies the first hour that the source will be available for replication.

fromMinute
MinuteOfHour MinuteOfHour MinuteOfHour MinuteOfHour

レプリケーションのためにソースが利用できるようになる最初の 15 分間を指定する MinuteOfHour メンバーの 1 つ。One of the MinuteOfHour members that specifies the first 15-minute interval that the source will be available for replication.

toHour
HourOfDay HourOfDay HourOfDay HourOfDay

レプリケーションのためにソースが利用できるようになる最後の 1 時間を指定する HourOfDay メンバーの 1 つ。One of the HourOfDay members that specifies the final hour that the source will be available for replication.

toMinute
MinuteOfHour MinuteOfHour MinuteOfHour MinuteOfHour

レプリケーションのためにソースが利用できるようになる最後の 15 分間を指定する MinuteOfHour メンバーの 1 つ。One of the MinuteOfHour members that specifies the final 15-minute interval that the source will be available for replication.

例外

開始時間が終了時間の後になっています。The start time is after the end time.

1 つ以上のパラメーターが無効です。One or more parameters is not valid.

注釈

このメソッドのパラメーターのすべてが含まれます。All of the parameters in this method are inclusive.

このメソッドは、累積的な既存のスケジュール情報は削除されません。This method is cumulative and does not remove any existing schedule information. 既存のスケジュールと、新しいスケジュールが重なっている場合、結果は累積されます。If an existing schedule and the new schedule overlap, the result will still be cumulative. スケジュールをクリアするには、使用、ResetScheduleメソッド。To clear the schedule, use the ResetSchedule method.

こちらもご覧ください

適用対象