Метод 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()
Реализует
Замечания
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()