Partager via


Propriété IDTSRuntimeComponent100.VariableDispenser

Sets the IDTSVariableDispenser100 of a data flow component.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
WriteOnly Property VariableDispenser As IDTSVariableDispenser100 
    Set
'Utilisation
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)

Valeur de propriété

Type : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100
The IDTSVariableDispenser100 object.

Notes

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.

Voir aussi

Référence

IDTSRuntimeComponent100 Interface

Espace de noms Microsoft.SqlServer.Dts.Pipeline.Wrapper