ScriptObjectModel.VariableDispenser Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the VariableDispenser that can be used within the Script task to work with existing variables.
public:
property Microsoft::SqlServer::Dts::Runtime::VariableDispenser ^ VariableDispenser { Microsoft::SqlServer::Dts::Runtime::VariableDispenser ^ get(); };
public Microsoft.SqlServer.Dts.Runtime.VariableDispenser VariableDispenser { get; }
member this.VariableDispenser : Microsoft.SqlServer.Dts.Runtime.VariableDispenser
Public ReadOnly Property VariableDispenser As VariableDispenser
Property Value
The VariableDispenser that can be used within the Script task to work with existing variables.
Remarks
Use the Variables property of the Dts
object in Script task code to access variables, instead of using the VariableDispenser property. The Script task handles the locking semantics for you when you use the Variables property