Share via


ConnectionManagerAdoNetClass.RetainSameConnection 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 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 ConnectionManagerAdoNetClass 
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 manager retains the same connection; otherwise, false.

Implements

IDTSConnectionManagerDatabaseParameters100.RetainSameConnection

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerAdoNetClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace