Metodo ConnectionManager.Dispose

Releases the resources used by the ConnectionManager.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Sub Dispose
'Utilizzo
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()

Osservazioni

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

Esempi

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

Dispose();
Dispose()

Vedere anche

Riferimento

ConnectionManager Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime