共用方式為


IDTSConnectionManagerCache100.UseEncryption 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets a Boolean that indicates whether to use encryption.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Property UseEncryption As Boolean 
    Get 
    Set
'用途
Dim instance As IDTSConnectionManagerCache100 
Dim value As Boolean 

value = instance.UseEncryption

instance.UseEncryption = value
bool UseEncryption { get; set; }
property bool UseEncryption {
    bool get ();
    void set (bool value);
}
abstract UseEncryption : bool with get, set
function get UseEncryption () : boolean 
function set UseEncryption (value : boolean)

屬性值

型別:System.Boolean
true if connection manager uses encryption; otherwise, false.

備註

For more information, see ConnectionManagerCacheClass.

請參閱

參考

IDTSConnectionManagerCache100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間