Share via


ServerLoginMode 列舉

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration ServerLoginMode
'用途
Dim instance As ServerLoginMode
public enum ServerLoginMode
public enum class ServerLoginMode
type ServerLoginMode
public enum ServerLoginMode

成員

成員名稱 說明
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.

備註

The ServerLoginMode enumeration class is served by the LoginMode property.