/// <summary> /// Enables the interface. /// </summary> /// <returns>The interface.</returns> /// <param name="domain">Domain.</param> public MigInterface EnableInterface(string domain) { MigInterface migInterface = GetInterface(domain); if (migInterface != null) { Log.Debug("Enabling Interface {0}", domain); configuration.GetInterface(domain).IsEnabled = true; migInterface.IsEnabled = true; migInterface.Connect(); } else { Log.Debug("Interface not found {0}", domain); } return(migInterface); }