Condividi tramite


Proprietà EncryptConnection

Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Gets or sets a Boolean value that specifies whether the Database Engine connection should be encrypted.

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

Sintassi

'Dichiarazione
Public Property EncryptConnection As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

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