The ServerLoginMode enumeration contains values that are used to specify the method used to connect to the instance of Microsoft SQL Server.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
語法
'宣告
Public Enumeration ServerLoginMode
public enum ServerLoginMode
public enum class ServerLoginMode
public enum ServerLoginMode
public enum ServerLoginMode
Members
| Member name | Description |
|---|---|
| Integrated | The Microsoft SQL Server login mode is Windows authentication. |
| Mixed | The Microsoft SQL Server Login mode is mixed, which is Windows authentication when the login has a Microsoft Windows account and SQL Server standard authentication when the login does not have a Windows account. |
| Normal | The Microsoft SQL Server Login mode is SQL Server standard authentication. |
| Unknown | The login mode is unknown. |
備註
The ServerLoginMode enumeration class is served by the LoginMode property.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。