共用方式為


UserType 列舉

The UserType enumeration contains constant values that specify the security type for the user.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

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

成員

成員名稱 說明
AsymmetricKey The user type is an asymmetric key.
Certificate The user type is a certificate.
NoLogin The user cannot log in to SQL Server.
SqlLogin The user type is a SQL Server login.
SqlUser The SQL Server user.

備註

The UserType enumeration is served by the UserType property.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間