共用方式為


ScriptObjectModel.VariableDispenser Property

Definition

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

Applies to