ServerLoginMode Enumeration


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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

public enum class ServerLoginMode

Member nameDescription

The SQL Server login mode is Windows Authentication.


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.


The SQL Server Login mode is SQL Server Authentication.


The login mode is unknown.

The ServerLoginMode enumeration class is served by the LoginMode property.

Return to top