IServerSettings.LoginMode Property

Gets or sets the ServerLoginMode for an 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 IServerSettings
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