Partager via


MainPipeClass.VariableDispenser Property

Sets the IDTSVariableDispenser90 used to lock variables in a package for reading and writing.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
<DispIdAttribute(119)> _
Public Overridable WriteOnly Property VariableDispenser As IDTSVariableDispenser90 Implements IDTSPipeline90.VariableDispenser
[DispIdAttribute(119)] 
public virtual IDTSVariableDispenser90 IDTSPipeline90.VariableDispenser { set; }
[DispIdAttribute(119)] 
public:
virtual property IDTSVariableDispenser90^ VariableDispenser {
    void set ([InAttribute] IDTSVariableDispenser90^ ) = IDTSPipeline90::VariableDispenser::set;
}
J# prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface explicites.
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface explicites.

Valeur de propriété

The IDTSVariableDispenser90 for the data flow task.

Notes

The IDTSVariableDispenser90 object is used to read and write variables in the package containing the data flow task. Before reading or writing a variable it must be locked using the LockForRead method, the LockForWrite method, the LockOneForRead method, or the LockOneForWrite method. After locking the variables using the dispenser, they are accessible through the IDTSVariables90 interface. Because the variables are retrieved by name, you must know the name of the variable you want to read or write. It is not possible to enumerate the collection of variables.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

MainPipeClass Class
MainPipeClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace