Propriedade LoginMode

Gets the login mode for the instance of SQL Server.

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

Sintaxe

'Declaração
<DisplayDescriptionKeyAttribute("Server_LoginModeDesc")> _
<DisplayNameKeyAttribute("Server_LoginModeName")> _
ReadOnly Property LoginMode As ServerLoginMode
    Get
'Uso
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

Valor da propriedade

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