Share via


IDTSRuntimeComponent100.VariableDispenser Property

Definition

Sets the IDTSVariableDispenser100 of a data flow component.

public:
 property Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ VariableDispenser {  void set(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ value); };
[System.Runtime.InteropServices.DispId(21)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 VariableDispenser { [System.Runtime.InteropServices.DispId(21)] set; }
[<System.Runtime.InteropServices.DispId(21)>]
[<set: System.Runtime.InteropServices.DispId(21)>]
member this.VariableDispenser : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100
Public Property VariableDispenser As IDTSVariableDispenser100

Property Value

The IDTSVariableDispenser100 object.

Attributes

Remarks

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.

Applies to