Поделиться через


Метод Dispose

Releases the resources used by the ConnectionManager.

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public Sub Dispose
'Применение
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()

Реализует интерфейс

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

Замечания

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

Примеры

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

Dispose();
Dispose()