共用方式為


ReleaseConnection 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

For more information, see ConnectionManager.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Sub ReleaseConnection ( _
    varConnection As Object _
)
'用途
Dim instance As ConnectionManagerCacheClass
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
)

參數

實作

IDTSConnectionManager100. . :: . .ReleaseConnection(Object)