Share via


ConnectionManagerAdoClass.RetainSameConnection Property

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

Gets or sets whether the connection retains the same connection.

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

Syntax

'Declaration
Public Overridable Property RetainSameConnection As Boolean 
    Get 
    Set
'Usage
Dim instance As ConnectionManagerAdoClass 
Dim value As Boolean 

value = instance.RetainSameConnection

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

Property Value

Type: System.Boolean
True if the connection retains the same connection; otherwise, false.

Implements

IDTSConnectionManagerDatabaseParameters100.RetainSameConnection

See Also

Reference

ConnectionManagerAdoClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace