Partilhar via


IDTSRuntimeComponent90.VariableDispenser Property

Sets the IDTSVariableDispenser90 of a data flow component.

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

Syntax

'Declaration
<DispIdAttribute(21)> _
WriteOnly Property VariableDispenser As IDTSVariableDispenser90
[DispIdAttribute(21)] 
IDTSVariableDispenser90 VariableDispenser { set; }
[DispIdAttribute(21)] 
property IDTSVariableDispenser90^ VariableDispenser {
    void set ([InAttribute] IDTSVariableDispenser90^ );
}
/** @property */
/** @attribute DispIdAttribute(21) */ 
void set_VariableDispenser (/** @attribute InAttribute() */ IDTSVariableDispenser90 )
DispIdAttribute(21) 
function set VariableDispenser ( : IDTSVariableDispenser90)

Property Value

The IDTSVariableDispenser90 object.

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 IDTSVariables90 interface.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSRuntimeComponent90 Interface
IDTSRuntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace