ActiveDirectorySchedule.SetDailySchedule(HourOfDay, MinuteOfHour, HourOfDay, MinuteOfHour) Método
Definição
Adiciona um intervalo de horas para cada dia da semana ao agendamento.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)
Parâmetros
- fromHour
- HourOfDay
Um dos membros HourOfDay que especifica a primeira hora em que a fonte estará disponível para replicação.One of the HourOfDay members that specifies the first hour that the source will be available for replication.
- fromMinute
- MinuteOfHour
Um dos membros MinuteOfHour que especifica os primeiros 15 minutos em que a fonte estará disponível para replicação.One of the MinuteOfHour members that specifies the first 15-minute interval that the source will be available for replication.
- toHour
- HourOfDay
Um dos membros HourOfDay que especifica a última hora em que a fonte estará disponível para replicação.One of the HourOfDay members that specifies the final hour that the source will be available for replication.
- toMinute
- MinuteOfHour
Um dos membros MinuteOfHour que especifica os últimos 15 minutos em que a fonte estará disponível para replicação.One of the MinuteOfHour members that specifies the final 15-minute interval that the source will be available for replication.
Comentários
Todos os parâmetros nesse método são inclusivos.All of the parameters in this method are inclusive.
Esse método é cumulativo e não remove nenhuma informação de agenda existente.This method is cumulative and does not remove any existing schedule information. Se uma agenda existente e a nova agenda se sobrepõem, o resultado ainda será cumulativo.If an existing schedule and the new schedule overlap, the result will still be cumulative. Para limpar a agenda, use o ResetSchedule método.To clear the schedule, use the ResetSchedule method.