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 的硬件和软件要求。