Propriété LoginSecure

Gets or sets the Boolean property value that specifies whether the connection is authenticated by Windows Authentication.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Property LoginSecure As Boolean
    Get
    Set
'Utilisation
Dim instance As RegisteredServer
Dim value As Boolean

value = instance.LoginSecure

instance.LoginSecure = value
public bool LoginSecure { get; set; }
public:
property bool LoginSecure {
    bool get ();
    void set (bool value);
}
member LoginSecure : bool with get, set
function get LoginSecure () : boolean
function set LoginSecure (value : boolean)

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value that specifies whether the connection is authenticated by Windows Authentication.
If True (default), the connection is authenticated by Windows Authentication.
If False, the connection is authenticated by using SQL Server standard authentication.