LoginType Enumeration

The LoginType enumeration contains values that are used to specify the authentication type and the Windows account type.

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

语法

声明
Public Enumeration LoginType
public enum LoginType
public enum class LoginType
public enum LoginType
public enum LoginType

Members

Member name Description
AsymmetricKey Value = 4. The logon is mapped to an asymmetric key.
Certificate Value = 3. The logon is mapped to a certificate.
SqlLogin Value = 2. A SQL Server standard logon.
WindowsGroup Value = 1. A Windows group logon.
WindowsUser Value = 0. A Windows individual logon.

备注

The LoginType enumeration class is served by the LoginType property for the Login and User classes.

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Microsoft.SqlServer.Management.Smo Namespace