Compartilhar via


Método DtsContainer.Dispose

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Sub Dispose
'Uso
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()

Implementa

IDisposable.Dispose()

Comentários

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.

Exemplos

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

Dispose();
Dispose()

Consulte também

Referência

DtsContainer Classe

Namespace Microsoft.SqlServer.Dts.Runtime