# Enum GssEncryptionMode

Namespace
  Npgsql

Assembly
  Npgsql.dll

Specifies how to manage GSS encryption.

    public enum GssEncryptionMode

## Fields

`Disable = 0`

  GSS encryption is disabled. If the server requires GSS encryption, the connection will fail.

`Prefer = 1`

  Prefer GSS encrypted connections if the server allows them, but allow connections without GSS encryption.

`Require = 2`

  Fail the connection if the server doesn't support GSS encryption.