コード例 #1
0
ファイル: ADSession.cs プロジェクト: YHZX2013/exchange_diff
 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();
     }
 }