DtsContainer.Dispose Method ()


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

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public void Dispose()

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.

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

Return to top