共用方式為


ScriptObjectModel.VariableDispenser 屬性

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
組件:  Microsoft.SqlServer.ScriptTask (在 Microsoft.SqlServer.ScriptTask.dll 中)

語法

'宣告
Public ReadOnly Property VariableDispenser As VariableDispenser 
    Get
'用途
Dim instance As ScriptObjectModel 
Dim value As VariableDispenser 

value = instance.VariableDispenser
public VariableDispenser VariableDispenser { get; }
public:
property VariableDispenser^ VariableDispenser {
    VariableDispenser^ get ();
}
member VariableDispenser : VariableDispenser
function get VariableDispenser () : VariableDispenser

屬性值

型別: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

請參閱

參考

ScriptObjectModel 類別

Microsoft.SqlServer.Dts.Tasks.ScriptTask 命名空間