Compartir a través de


Dispose Método

Releases the resources used by the ConnectionManager.

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 ConnectionManager

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

Releases the resources used by the ConnectionManager and optionally releases the unmanaged resources.

Ejemplos

The following code sample shows how to dispose of connection manager resources.

Dispose();
Dispose()