Поделиться через


Свойство ConnectionSettings.EncryptConnection

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

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Property EncryptConnection As Boolean 
    Get 
    Set
'Применение
Dim instance As ConnectionSettings 
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)

Значение свойства

Тип: System.Boolean
A Boolean value that specifies whether the connection is encrypted.If True, the connection is encrypted.If False (default), the connection is not encrypted.

См. также

Справочник

ConnectionSettings Класс

Пространство имен Microsoft.SqlServer.Management.Common