ScriptComponent.VariableDispenser Property
Returns an object that the data flow uses internally to work with variables.
命名空间: Microsoft.SqlServer.Dts.Pipeline
程序集: Microsoft.SqlServer.TxScript (in microsoft.sqlserver.txscript.dll)
语法
声明
Public ReadOnly Property VariableDispenser As IDTSVariableDispenser90
public IDTSVariableDispenser90 VariableDispenser { get; }
public:
property IDTSVariableDispenser90^ VariableDispenser {
IDTSVariableDispenser90^ get ();
}
/** @property */
public IDTSVariableDispenser90 get_VariableDispenser ()
public function get VariableDispenser () : IDTSVariableDispenser90
属性值
An IDTSVariableDispenser90 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.
线程安全
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.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
ScriptComponent Class
ScriptComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace