Partilhar via


Propriedade do RDL SqlConnectionInfo.EncryptConnection

Gets or sets the Boolean property value that specifies whether the connection information is encrypted.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Property EncryptConnection As Boolean 
    Get 
    Set
'Uso
Dim instance As SqlConnectionInfo 
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
A Boolean value that specifies whether the connection information is encrypted.If True, the connection information is encrypted.If False (default), the connection information is not encrypted.

Consulte também

Referência

SqlConnectionInfo Classe

Namespace Microsoft.SqlServer.Management.Common