public void Disable() { AdminQuery.DisableTrigger(triggerName); var trigger = (Trigger)AdminQuery.Access().GetObject(DbObjectType.Trigger, triggerName); Assert.AreEqual(TriggerStatus.Disabled, trigger.TriggerInfo.Status); }