VariableDispenser 属性

Sets the IDTSVariableDispenser100 of a data flow component.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
WriteOnly Property VariableDispenser As IDTSVariableDispenser100
    Set
用法
Dim instance As IDTSRuntimeComponent100
Dim value As IDTSVariableDispenser100

instance.VariableDispenser = value
IDTSVariableDispenser100 VariableDispenser { set; }
property IDTSVariableDispenser100^ VariableDispenser {
    void set (IDTSVariableDispenser100^ value);
}
abstract VariableDispenser : IDTSVariableDispenser100 with get, set
function set VariableDispenser (value : IDTSVariableDispenser100)

注释

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 IDTSVariables100 interface.