共用方式為


LoginType 列舉

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 (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

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

成員

成員名稱 說明
WindowsUser Value = 0. A Windows individual logon.
WindowsGroup Value = 1. A Windows group logon.
SqlLogin Value = 2. A SQL Server standard logon.
Certificate Value = 3. The logon is mapped to a certificate.
AsymmetricKey Value = 4. The logon is mapped to an asymmetric key.

備註

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