IServerSetupFacet.LoginMode Property

Gets the login mode for the instance of SQL Server.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_LoginModeDesc")> _
<DisplayNameKeyAttribute("Server_LoginModeName")> _
ReadOnly Property LoginMode As ServerLoginMode
    Get
'Usage
Dim instance As IServerSetupFacet
Dim value As ServerLoginMode

value = instance.LoginMode
[DisplayDescriptionKeyAttribute("Server_LoginModeDesc")]
[DisplayNameKeyAttribute("Server_LoginModeName")]
ServerLoginMode LoginMode { get; }
[DisplayDescriptionKeyAttribute(L"Server_LoginModeDesc")]
[DisplayNameKeyAttribute(L"Server_LoginModeName")]
property ServerLoginMode LoginMode {
    ServerLoginMode get ();
}
[<DisplayDescriptionKeyAttribute("Server_LoginModeDesc")>]
[<DisplayNameKeyAttribute("Server_LoginModeName")>]
abstract LoginMode : ServerLoginMode
function get LoginMode () : ServerLoginMode

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerLoginMode
A ServerLoginMode value that specifies the login method for the instance of SQL Server.