public FimServicePendingImportTrigger(ManagementAgent ma) { if (!FimServicePendingImportTrigger.CanCreateForMA(ma)) { throw new InvalidOperationException("The specified management agent is not a MIM Service MA"); } this.HostName = FimServicePendingImportTrigger.GetFimServiceHostName(ma); this.Interval = TimeSpan.FromSeconds(60); }
internal static void AddDefaultTriggers(MAControllerConfiguration config, ManagementAgent ma) { switch (ma.Category) { case "FIM": FimServicePendingImportTrigger t1 = new FimServicePendingImportTrigger(ma); config.Triggers.Add(t1); break; case "ADAM": case "AD": ActiveDirectoryChangeTrigger t2 = new ActiveDirectoryChangeTrigger(ma); config.Triggers.Add(t2); break; } }