Bagikan melalui


ConnectionManagerCacheClass.UseEncryption Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Property UseEncryption As Boolean 
    Get 
    Set
'Usage
Dim instance As ConnectionManagerCacheClass 
Dim value As Boolean 

value = instance.UseEncryption

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

Property Value

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

Implements

IDTSConnectionManagerCache100.UseEncryption

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerCacheClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace