Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft