SqlConnectionInfo.EncryptConnection 屬性
取得或設定指定連接資訊是否經過加密的 Boolean 屬性值。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Property EncryptConnection As Boolean
Get
Set
'用途
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)
屬性值
型別:Boolean
指定連接資訊是否已加密的 Boolean 值。如果為 True,連接資訊已加密。如果為 False (預設值),則連接資訊未加密。