共用方式為


LoginType 屬性

Gets or sets the type of SQL Server login account.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property LoginType As LoginType
    Get
    Set
'用途
Dim instance As Login
Dim value As LoginType

value = instance.LoginType

instance.LoginType = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public LoginType LoginType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property LoginType LoginType {
    LoginType get ();
    void set (LoginType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member LoginType : LoginType with get, set
function get LoginType () : LoginType
function set LoginType (value : LoginType)

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .LoginType
A LoginType object value that specifies the type of authentication performed on the SQL Server login account.

備註

The type of login specifies whether the Windows account is a group account or a single user account in addition to the type of authentication.