다음을 통해 공유


Dispose 메서드

This method is inherited from the IDisposable.Dispose method, which is a mechanism to explicitly tell an object to perform cleanup.

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

구문

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

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

구현

IDisposable. . :: . .Dispose() () () ()

주의

Dispose is an optional mechanism that should be used in specific cases that require it.

The following code sample shows how to dispose of variable resources.

Dispose();
Dispose()