Share via


Propriété EncryptConnection

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a Boolean value that specifies whether the Database Engine connection should be encrypted.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Property EncryptConnection As Boolean
    Get
    Set
'Utilisation
Dim instance As OlapConnectionInfo
Dim value As Boolean

value = instance.EncryptConnection

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

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value that specifies whether the Database Engine connection should be encrypted.