internal static bool IsMicrosoftHostedOnly()
 {
     if (DatacenterRegistry.isMicrosoftHostedOnly == null)
     {
         DatacenterRegistry.isMicrosoftHostedOnly = new bool?(DatacenterRegistry.CheckBooleanValue("DatacenterMode"));
     }
     return(DatacenterRegistry.isMicrosoftHostedOnly.Value);
 }
 internal static bool IsForefrontForOfficeDeployment()
 {
     if (DatacenterRegistry.isFfoDatacenterDeployment == null)
     {
         DatacenterRegistry.isFfoDatacenterDeployment = new bool?(DatacenterRegistry.CheckBooleanValue("FfoDeploymentMode"));
     }
     return(DatacenterRegistry.isFfoDatacenterDeployment.Value);
 }
 internal static bool IsForefrontForOffice()
 {
     if (DatacenterRegistry.isFfoDatacenter == null)
     {
         DatacenterRegistry.isFfoDatacenter = new bool?(DatacenterRegistry.CheckBooleanValue("ForefrontForOfficeMode"));
     }
     return(DatacenterRegistry.isFfoDatacenter.Value);
 }
 internal static bool TreatPreReqErrorsAsWarnings()
 {
     if (DatacenterRegistry.treatPreReqErrorsAsWarningsKey == null)
     {
         DatacenterRegistry.treatPreReqErrorsAsWarningsKey = new bool?(DatacenterRegistry.CheckBooleanValue("TreatPreReqErrorsAsWarnings"));
     }
     return(DatacenterRegistry.treatPreReqErrorsAsWarningsKey.Value);
 }
 internal static bool IsDatacenterDedicated()
 {
     if (DatacenterRegistry.isDatacenterDedicated == null)
     {
         DatacenterRegistry.isDatacenterDedicated = new bool?(DatacenterRegistry.CheckBooleanValue("DatacenterDedicated"));
     }
     return(DatacenterRegistry.isDatacenterDedicated.Value);
 }
 internal static bool IsDualWriteAllowed()
 {
     if (DatacenterRegistry.isFfoDualWriteAllowed == null)
     {
         if (ExEnvironment.IsTest)
         {
             DatacenterRegistry.isFfoDualWriteAllowed = new bool?(DatacenterRegistry.CheckBooleanValue("FfoDualWriteAllowed"));
         }
         else
         {
             DatacenterRegistry.isFfoDualWriteAllowed = new bool?(true);
         }
     }
     return(DatacenterRegistry.isFfoDualWriteAllowed.Value);
 }