Condividi tramite


Metodo Dispose

Releases the resources used by the instance of this class.

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 ExtendedProperty

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

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

Esempi

The following code sample shows how to dispose of resources.

Dispose();
Dispose()