break;
case WINRM_INTERNAL:
connection = new CifsWinRmConnection(type, options, mapper);
break;
case WINRM_NATIVE:
connection = new CifsWinrsConnection(type, options, mapper);
break;
default:
throw new IllegalArgumentException("Unknown CIFS connection type " + cifsConnectionType);
}
}