Dispose 方法
Releases the resources used by the ConnectionManager.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Sub Dispose
'用途
Dim instance As ConnectionManager
instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
public final function Dispose()
實作
備註
Releases the resources used by the ConnectionManager and optionally releases the unmanaged resources.
範例
The following code sample shows how to dispose of connection manager resources.
Dispose();
Dispose()