Partager via


Dispose méthode

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Sub Dispose
'Utilisation
Dim instance As PrecedenceConstraint

instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit 
override Dispose : unit -> unit 
public final function Dispose()

Implémente

IDisposable. . :: . .Dispose() () () ()

Notes

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

Exemples

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

Dispose();
Dispose()