共用方式為


LoginType 屬性

Gets the type of login that is associated with the database user, such as whether it is a Windows group or a SQL Server standard login.

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property LoginType As LoginType
    Get
'用途
Dim instance As User
Dim value As LoginType

value = instance.LoginType
[SfcPropertyAttribute]
public LoginType LoginType { get; }
[SfcPropertyAttribute]
public:
property LoginType LoginType {
    LoginType get ();
}
[<SfcPropertyAttribute>]
member LoginType : LoginType
function get LoginType () : LoginType

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .LoginType
A LoginType object value that specifies the type of login that is associated with the database user.