Variable.Dispose 方法

This method is inherited from the IDisposable.Dispose method, which is a mechanism to explicitly tell an object to perform cleanup.

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Sub Dispose
用法
Dim instance As Variable

instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit  
override Dispose : unit -> unit
public final function Dispose()

实现

IDisposable.Dispose()

注释

Dispose is an optional mechanism that should be used in specific cases that require it.

示例

The following code sample shows how to dispose of variable resources.

Dispose();
Dispose()

请参阅

参考

Variable 类

Microsoft.SqlServer.Dts.Runtime 命名空间