Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
ScriptComponent.VariableDispenser Property

Returns an object that the data flow uses internally to work with variables.

Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.TxScript (in microsoft.sqlserver.txscript.dll)
VisualBasicDeclaration
Public ReadOnly Property VariableDispenser As IDTSVariableDispenser90
CSharp
public IDTSVariableDispenser90 VariableDispenser { get; }
ManagedCPlusPlus
public:
property IDTSVariableDispenser90^ VariableDispenser {
    IDTSVariableDispenser90^ get ();
}
JSharp
/** @property */
public IDTSVariableDispenser90 get_VariableDispenser ()
JScript
public function get VariableDispenser () : IDTSVariableDispenser90

Property Value

An IDTSVariableDispenser90 that the data flow uses internally to work with variables.

The Script component developer does not use the ScriptComponent class directly, but indirectly, by coding the methods and properties of the ScriptMain class, which inherits from ScriptComponent through the UserComponent class.

The developer does not have to use the VariableDispenser property, because the ScriptMain class provides the Variables property for convenient access to both read-only and read/write variables through a single property. The Variables property is a property of the autogenerated UserComponent base class, not of the ScriptComponent class.


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.

Development Platforms

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

Target Platforms

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker