ServerLoginMode ServerLoginMode ServerLoginMode Enum


The ServerLoginMode enumeration contains values that are used to specify the method used to connect to the instance of SQL Server.

public enum class ServerLoginMode
public enum ServerLoginMode
Public Enum ServerLoginMode


Integrated Integrated Integrated 1

The SQL Server login mode is Windows Authentication.

Mixed Mixed Mixed 2

The SQL Server Login mode is mixed, which is Windows Authentication when the login has a Windows account and SQL Server standard authentication when the login does not have a Windows account.

Normal Normal Normal 0

The SQL Server Login mode is SQL Server Authentication.

Unknown Unknown Unknown 9

The login mode is unknown.


The ServerLoginMode enumeration class is served by the LoginMode property.

Applies to