DtsContainer.Dispose 方法
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Sub Dispose
用法
Dim instance As DtsContainer
instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
public final function 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.
Dispose();
Dispose()