共用方式為


IDTSRuntimeComponent90.VariableDispenser Property

Sets the IDTSVariableDispenser90 of a data flow component.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(21)> _
WriteOnly Property VariableDispenser As IDTSVariableDispenser90
[DispIdAttribute(21)] 
IDTSVariableDispenser90 VariableDispenser { set; }
[DispIdAttribute(21)] 
property IDTSVariableDispenser90^ VariableDispenser {
    void set ([InAttribute] IDTSVariableDispenser90^ );
}
/** @property */
/** @attribute DispIdAttribute(21) */ 
void set_VariableDispenser (/** @attribute InAttribute() */ IDTSVariableDispenser90 )
DispIdAttribute(21) 
function set VariableDispenser ( : IDTSVariableDispenser90)

屬性值

The IDTSVariableDispenser90 object.

備註

The VariableDispenser is used to read and write variables in the package that contains the component. Before a component can read or write a variable, the variable must be locked by using the LockForRead method, the LockForWrite method, the LockOneForRead, or the LockOneForWrite method. After you have locked the variables and accessed the dispenser, you can use the variables through the IDTSVariables90 interface.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

IDTSRuntimeComponent90 Interface
IDTSRuntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace