共用方式為


ScriptObjectModel.VariableDispenser Property

Returns the VariableDispenser that can be used within the Script task to work with existing variables.

命名空間: Microsoft.SqlServer.Dts.Tasks.ScriptTask
組件: Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)

語法

'宣告
Public ReadOnly Property VariableDispenser As VariableDispenser
public VariableDispenser VariableDispenser { get; }
public:
property VariableDispenser^ VariableDispenser {
    VariableDispenser^ get ();
}
/** @property */
public VariableDispenser get_VariableDispenser ()
public function get VariableDispenser () : VariableDispenser

屬性值

The VariableDispenser that can be used within the Script task to work with existing variables.

備註

Use the Variables property of the Dts object in Script task code to access variables, instead of using the VariableDispenser property. The Script task handles the locking semantics for you when you use the Variables property

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ScriptObjectModel Class
ScriptObjectModel Members
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace