다음을 통해 공유


VariableDispenser 속성

Returns an object that the data flow uses internally to work with variables.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline
어셈블리:  Microsoft.SqlServer.TxScript(Microsoft.SqlServer.TxScript.dll)

구문

‘선언
Public ReadOnly Property VariableDispenser As IDTSVariableDispenser100
    Get
‘사용 방법
Dim instance As ScriptComponent
Dim value As IDTSVariableDispenser100

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

속성 값

유형: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSVariableDispenser100
An IDTSVariableDispenser100 that the data flow uses internally to work with variables.

주의

The Script component developer does not use the ScriptComponent class directly, but indirectly, by coding the methods and properties of the ScriptMain class, which inherits from ScriptComponent through the UserComponent class.

The developer does not have to use the VariableDispenser property, because the ScriptMain class provides the Variables property for convenient access to both read-only and read/write variables through a single property. The Variables property is a property of the autogenerated UserComponent base class, not of the ScriptComponent class.