다음을 통해 공유


VariableDispenser 속성

Sets the IDTSVariableDispenser100 of a data flow component.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리:  Microsoft.SqlServer.DTSPipelineWrap.dll의 Microsoft.SqlServer.DTSPipelineWrap

구문

‘선언
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.