VariableDispenserClass 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示变量分配器类。
public ref class VariableDispenserClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::VariableDispenser[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("9275BF59-7D84-4E04-B989-3F33F1750E62")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class VariableDispenserClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableDispenser[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("09EAF318-CCEF-49D8-A98E-B39C1C32411A")]
public class VariableDispenserClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableDispenser[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("9AF5685B-EE36-46AA-95C6-0F49800FC19A")]
public class VariableDispenserClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableDispenser[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("9275BF59-7D84-4E04-B989-3F33F1750E62")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type VariableDispenserClass = class
    interface VariableDispenser
    interface IDTSVariableDispenser100[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("09EAF318-CCEF-49D8-A98E-B39C1C32411A")>]
type VariableDispenserClass = class
    interface VariableDispenser
    interface IDTSVariableDispenser100[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("9AF5685B-EE36-46AA-95C6-0F49800FC19A")>]
type VariableDispenserClass = class
    interface VariableDispenser
    interface IDTSVariableDispenser100Public Class VariableDispenserClass
Implements VariableDispenser- 继承
- 
				VariableDispenserClass
- 属性
- 实现
构造函数
| VariableDispenserClass() | 初始化 VariableDispenserClass 类的新实例。 | 
方法
| Contains(String) | 指定是否可以通过使用索引来检索集合中的项而不引发异常。 | 
| GetQualifiedName(String) | 返回变量的限定名称。 | 
| GetVariables(IDTSVariables100) | 锁定只读列表和读/写列表中的变量。 | 
| LockForRead(String) | 将变量添加到要锁定用于只读访问的变量列表。 | 
| LockForWrite(String) | 将变量添加到要锁定用于读/写访问的变量列表。 | 
| LockOneForRead(String, IDTSVariables100) | 将变量放入列表中,然后锁定它以进行只读访问。 | 
| LockOneForWrite(String, IDTSVariables100) | 将变量放入列表中,然后锁定它以进行读/写访问。 | 
| Reset() | 清除只读列表和读/写列表。 |