Поделиться через


Свойство 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