Condividi tramite


Proprietà LoginMode

Gets or sets the ServerLoginMode for an instance of SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Server_LoginModeDesc")> _
<DisplayNameKeyAttribute("Server_LoginModeName")> _
ReadOnly Property LoginMode As ServerLoginMode
    Get
'Utilizzo
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