共用方式為


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 命名空間