Compartilhar via


Propriedade do RDL EncryptConnection

Gets or sets a value specifying whether the connection will be encrypted.

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

Sintaxe

'Declaração
Public Property EncryptConnection As Boolean
    Get
    Set
'Uso
Dim instance As MultiServerSqlConnectionInfo
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)

Valor da propriedade

Tipo: System. . :: . .Boolean
True if the connection will be encrypted. Otherwise, false.