Compartilhar via


Propriedade do RDL VariableDispenser

Sets the IDTSVariableDispenser100 of a data flow component.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxe

'Declaração
WriteOnly Property VariableDispenser As IDTSVariableDispenser100
    Set
'Uso
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)

Comentários

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.