Sdílet prostřednictvím


DtsContainer.Dispose Method

Definition

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Examples

The following code sample shows how to call Dispose to free resources.

Dispose();  
Dispose()  

Remarks

Use the Dispose method when creating a custom object that inherits from DtsContainer, and that object needs to free resources. For more information, see IDisposable.Dispose.

Applies to