다음을 통해 공유


DtsContainer.Dispose 메서드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Sub Dispose
‘사용 방법
Dim instance As DtsContainer

instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit  
override Dispose : unit -> unit
public final function Dispose()

구현

IDisposable.Dispose()

주의

Use the Dispose method when creating a custom object that inherits from DtsContainer, and that object needs to free resources. For more information, see IDisposable.Dispose.

The following code sample shows how to call Dispose to free resources.

Dispose();
Dispose()

참고 항목

참조

DtsContainer 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스