Share via


ConnectionManagerCacheClass.RetainData 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 the connection manager retains the data in the cache.

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

Syntax

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

value = instance.RetainData

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

Property Value

Type: System.Boolean
true if the connection manager retains the data in the cache; otherwise, false.

Implements

IDTSConnectionManagerCache100.RetainData

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerCacheClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace