Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ScriptObjectModel.VariableDispenser Property

Returns the VariableDispenser that can be used within the Script task to work with existing variables.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
Assembly:  Microsoft.SqlServer.ScriptTask (in Microsoft.SqlServer.ScriptTask.dll)

'Declaration
Public ReadOnly Property VariableDispenser As VariableDispenser 
	Get
'Usage
Dim instance As ScriptObjectModel 
Dim value As VariableDispenser 

value = instance.VariableDispenser

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.VariableDispenser
The VariableDispenser that can be used within the Script task to work with existing variables.

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

Community Additions

ADD
Show:
© 2015 Microsoft