Delen via


IUserOptions.LoginType Property

Gets the LoginType.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("User_LoginTypeDesc")> _
<DisplayNameKeyAttribute("User_LoginTypeName")> _
ReadOnly Property LoginType As LoginType
    Get
'Usage
Dim instance As IUserOptions
Dim value As LoginType

value = instance.LoginType
[DisplayDescriptionKeyAttribute("User_LoginTypeDesc")]
[DisplayNameKeyAttribute("User_LoginTypeName")]
LoginType LoginType { get; }
[DisplayDescriptionKeyAttribute(L"User_LoginTypeDesc")]
[DisplayNameKeyAttribute(L"User_LoginTypeName")]
property LoginType LoginType {
    LoginType get ();
}
[<DisplayDescriptionKeyAttribute("User_LoginTypeDesc")>]
[<DisplayNameKeyAttribute("User_LoginTypeName")>]
abstract LoginType : LoginType
function get LoginType () : LoginType

Property Value

Type: Microsoft.SqlServer.Management.Smo.LoginType
A LoginType object which is used to specify the authentication type and the Windows account type.