Example #1
0
 public static void SetAdminTopologyMode()
 {
     if (!ADSession.isAdminModeEnabled)
     {
         ExTraceGlobals.ADTopologyTracer.TraceDebug(0L, "A process tried to set the Topology Mode to Admin, but this mode has been disabled");
         return;
     }
     TopologyProvider.SetProcessTopologyMode(true, true);
     if (ADSession.IsBoundToAdam)
     {
         ADSessionSettings.ClearProcessADContext();
         ConnectionPoolManager.ForceRebuild();
     }
 }