ActiveDirectorySchedule.SetDailySchedule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a range of times for every day of the week to the schedule.
public:
void SetDailySchedule(System::DirectoryServices::ActiveDirectory::HourOfDay fromHour, System::DirectoryServices::ActiveDirectory::MinuteOfHour fromMinute, System::DirectoryServices::ActiveDirectory::HourOfDay toHour, System::DirectoryServices::ActiveDirectory::MinuteOfHour toMinute);
public void SetDailySchedule (System.DirectoryServices.ActiveDirectory.HourOfDay fromHour, System.DirectoryServices.ActiveDirectory.MinuteOfHour fromMinute, System.DirectoryServices.ActiveDirectory.HourOfDay toHour, System.DirectoryServices.ActiveDirectory.MinuteOfHour toMinute);
member this.SetDailySchedule : System.DirectoryServices.ActiveDirectory.HourOfDay * System.DirectoryServices.ActiveDirectory.MinuteOfHour * System.DirectoryServices.ActiveDirectory.HourOfDay * System.DirectoryServices.ActiveDirectory.MinuteOfHour -> unit
Public Sub SetDailySchedule (fromHour As HourOfDay, fromMinute As MinuteOfHour, toHour As HourOfDay, toMinute As MinuteOfHour)
Parameters
- fromHour
- HourOfDay
One of the HourOfDay members that specifies the first hour that the source will be available for replication.
- fromMinute
- MinuteOfHour
One of the MinuteOfHour members that specifies the first 15-minute interval that the source will be available for replication.
- toHour
- HourOfDay
One of the HourOfDay members that specifies the final hour that the source will be available for replication.
- toMinute
- MinuteOfHour
One of the MinuteOfHour members that specifies the final 15-minute interval that the source will be available for replication.
Remarks
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. To clear the schedule, use the ResetSchedule method.