Partager via


ScriptObjectModel.VariableDispenser Property

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

Espace de noms: Microsoft.SqlServer.Dts.Tasks.ScriptTask
Assembly: Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)

Syntaxe

'Déclaration
Public ReadOnly Property VariableDispenser As VariableDispenser
public VariableDispenser VariableDispenser { get; }
public:
property VariableDispenser^ VariableDispenser {
    VariableDispenser^ get ();
}
/** @property */
public VariableDispenser get_VariableDispenser ()
public function get VariableDispenser () : VariableDispenser

Valeur de propriété

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

Notes

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

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

ScriptObjectModel Class
ScriptObjectModel Members
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace