Compartir a través de


Variable.Dispose Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Sub Dispose
'Uso
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()

Implementa

IDisposable.Dispose()

Comentarios

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

Ejemplos

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

Dispose();
Dispose()

Vea también

Referencia

Variable Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime