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