ProjectVariablesWrapper 类

Contains a collection of project variables wrapper.

此 API 不符合 CLS。 

继承层次结构

System.Object
  Microsoft.SqlServer.Dts.Runtime.ProjectVariablesWrapper

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ProjectVariablesWrapper _
    Implements IDTSVariables100, IEnumerable
用法
Dim instance As ProjectVariablesWrapper
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public sealed class ProjectVariablesWrapper : IDTSVariables100, 
    IEnumerable
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class ProjectVariablesWrapper sealed : IDTSVariables100, 
    IEnumerable
[<SealedAttribute>]
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(false)>]
type ProjectVariablesWrapper =  
    class 
        interface IDTSVariables100 
        interface IEnumerable 
    end
public final class ProjectVariablesWrapper implements IDTSVariables100, IEnumerable

ProjectVariablesWrapper 类型公开以下成员。

构造函数

  名称 说明
公共方法 ProjectVariablesWrapper Initializes a new instance of the ProjectVariablesWrapper class using the specified project.

页首

属性

  名称 说明
公共属性 Count Gets the number of elements contained in the ProjectVariablesWrapper instance.
公共属性 Item Gets the specified IDTSVariable100 object from the ProjectVariablesWrapper collection.
公共属性 Locked Gets whether the variables in the ProjectVariablesWrapper collection are locked.

页首

方法

  名称 说明
公共方法 Add Adds a specified IDTSVariable100 object to the ProjectVariablesWrapper instance.
公共方法 Contains Indicates whether the item in the ProjectVariablesWrapper collection can be accessed by using indexing.
公共方法 Equals (从 Object 继承。)
公共方法 GetEnumerator Returns an IEnumerator object from ProjectVariablesWrapper instance.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Join Joins the IDTSVariable100 variable in the ProjectVariablesWrapper collection.
公共方法 Remove Removes a variable object from the ProjectVariablesWrapper instance.
公共方法 ToString (从 Object 继承。)
公共方法 Unlock Releases the locks on the variables on the variables collection.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime 命名空间