다음을 통해 공유


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()

구현

IDisposable. . :: . .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()