UserType Enumeration

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

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

語法

'宣告
Public Enumeration UserType
public enum UserType
public enum class UserType
public enum UserType
public enum UserType

Members

Member name Description
AsymmetricKey The user type is an asymmetric key.
Certificate The user type is a certificate.
NoLogin The user cannot log on to SQL Server.
SqlLogin The user type is a SQL Server login.

備註

更新的文字:

The UserType enumeration is served by the UserType property.

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace