Share via


ProjectVariablesWrapper Class

Contains a collection of project variables wrapper.

This API is not CLS-compliant. 

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ProjectVariablesWrapper _
    Implements IDTSVariables100, IEnumerable
'Usage
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

The ProjectVariablesWrapper type exposes the following members.

Constructors

  Name Description
Public method ProjectVariablesWrapper Initializes a new instance of the ProjectVariablesWrapper class using the specified project.

Top

Properties

  Name Description
Public property Count Gets the number of elements contained in the ProjectVariablesWrapper instance.
Public property Item Gets the specified IDTSVariable100 object from the ProjectVariablesWrapper collection.
Public property Locked Gets whether the variables in the ProjectVariablesWrapper collection are locked.

Top

Methods

  Name Description
Public method Add Adds a specified IDTSVariable100 object to the ProjectVariablesWrapper instance.
Public method Contains Indicates whether the item in the ProjectVariablesWrapper collection can be accessed by using indexing.
Public method Equals (Inherited from Object.)
Public method GetEnumerator Returns an IEnumerator object from ProjectVariablesWrapper instance.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Join Joins the IDTSVariable100 variable in the ProjectVariablesWrapper collection.
Public method Remove Removes a variable object from the ProjectVariablesWrapper instance.
Public method ToString (Inherited from Object.)
Public method Unlock Releases the locks on the variables on the variables collection.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime Namespace