다음을 통해 공유


EncryptConnection 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo

구문

‘선언
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.