语言

ProjectVariablesWrapper 类

定义

重要

此 API 不符合 CLS。

包含项目变量包装的集合。

public ref class ProjectVariablesWrapper sealed : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariables100, System::Collections::IEnumerable
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ProjectVariablesWrapper : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100, System.Collections.IEnumerable
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ProjectVariablesWrapper = class
    interface IDTSVariables100
    interface IEnumerable
Public NotInheritable Class ProjectVariablesWrapper
Implements IDTSVariables100, IEnumerable
继承
ProjectVariablesWrapper
属性
实现

构造函数

ProjectVariablesWrapper(Project)

使用指定的项目初始化 ProjectVariablesWrapper 类的新实例。

属性

Count

获取 ProjectVariablesWrapper 实例中包含的元素数。

Item[Object]

从 IDTSVariable100 集合中获取指定的 ProjectVariablesWrapper 对象。

Locked

获取一个值,该值指示是否锁定 ProjectVariablesWrapper 集合中的变量。

方法

Add(String, Boolean, String, Object)

将指定的 IDTSVariable100 对象添加到 ProjectVariablesWrapper 实例。

Contains(Object)

指示是否可以通过使用索引访问 ProjectVariablesWrapper 集合中的项。

GetEnumerator()

从 IEnumerator 实例返回一个 ProjectVariablesWrapper 对象。

Join(IDTSVariable100)

联接 IDTSVariable100 集合中的 ProjectVariablesWrapper 变量。

Remove(Object)

从 ProjectVariablesWrapper 实例中删除变量对象。

Unlock()

释放针对变量集合上的变量的锁。

适用于