Compartir a través de


DtsContainer.Dispose Method

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

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Sintaxis

'Declaración
Public Sub Dispose
public void Dispose ()
public:
virtual void Dispose () sealed
public final void Dispose ()
public final function Dispose ()

Notas

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.

Ejemplo

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

Dispose();
Dispose()

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

DtsContainer Class
DtsContainer Members
Microsoft.SqlServer.Dts.Runtime Namespace