Dela via


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)

Syntax

'Declaration
Public Enumeration ServerLoginMode
'Usage
Dim instance As ServerLoginMode
public enum ServerLoginMode
public enum class ServerLoginMode
type ServerLoginMode
public enum ServerLoginMode

Members

Member name Description
Normal The SQL Server Login mode is SQL Server Authentication.
Integrated The SQL Server login mode is Windows Authentication.
Mixed 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.
Unknown The login mode is unknown.

Remarks

The ServerLoginMode enumeration class is served by the LoginMode property.