/// <summary>
        /// Transforms the given policy state into a string representation
        /// </summary>
        private string PolicizeThreatDetectionState(ThreatDetectionStateType threatDetectionState)
        {
            switch (threatDetectionState)
            {
            case ThreatDetectionStateType.Enabled:
                return(SecurityConstants.ThreatDetectionEndpoint.Enabled);

            case ThreatDetectionStateType.New:
                return(SecurityConstants.ThreatDetectionEndpoint.New);

            default:
                return(SecurityConstants.ThreatDetectionEndpoint.Disabled);
            }
        }
 /// <summary>
 /// Transforms the given policy state into a string representation
 /// </summary>
 private string PolicizeThreatDetectionState(ThreatDetectionStateType threatDetectionState)
 {
     switch (threatDetectionState)
     {
         case ThreatDetectionStateType.Enabled:
             return SecurityConstants.ThreatDetectionEndpoint.Enabled;
         case ThreatDetectionStateType.New:
             return SecurityConstants.ThreatDetectionEndpoint.New;
         default:
             return SecurityConstants.ThreatDetectionEndpoint.Disabled;
     }
 }