Bagikan melalui


ConnectionManagerAdoNetClass.ReleaseConnection Method

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

Frees the connection established during AcquireConnection. Called at design time and runtime.

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

Syntax

'Declaration
Public Overridable Sub ReleaseConnection ( _
    varConnection As Object _
)
'Usage
Dim instance As ConnectionManagerAdoNetClass 
Dim varConnection As Object

instance.ReleaseConnection(varConnection)
public virtual void ReleaseConnection(
    Object varConnection
)
public:
virtual void ReleaseConnection(
    [InAttribute] Object^ varConnection
)
abstract ReleaseConnection : 
        varConnection:Object -> unit  
override ReleaseConnection : 
        varConnection:Object -> unit
public function ReleaseConnection(
    varConnection : Object
)

Parameters

Implements

IDTSConnectionManager100.ReleaseConnection(Object)

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerAdoNetClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace