Share via


ConnectionManager.Dispose Method

Releases the resources used by the ConnectionManager.

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

Syntax

'Declaration
Public Sub Dispose
'Usage
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()

Implements

IDisposable.Dispose()

Remarks

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

Examples

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

Dispose();
Dispose()