共用方式為


ProjectVariablesWrapper Class

Definition

Important

This API is not CLS-compliant.

Contains a collection of project variables wrapper.

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
Inheritance
ProjectVariablesWrapper
Attributes
Implements

Constructors

ProjectVariablesWrapper(Project)

Initializes a new instance of the ProjectVariablesWrapper class using the specified project.

Properties

Count

Gets the number of elements contained in the ProjectVariablesWrapper instance.

Item[Object]

Gets the specified IDTSVariable100 object from the ProjectVariablesWrapper collection.

Locked

Gets whether the variables in the ProjectVariablesWrapper collection are locked.

Methods

Add(String, Boolean, String, Object)

Adds a specified IDTSVariable100 object to the ProjectVariablesWrapper instance.

Contains(Object)

Indicates whether the item in the ProjectVariablesWrapper collection can be accessed by using indexing.

GetEnumerator()

Returns an IEnumerator object from ProjectVariablesWrapper instance.

Join(IDTSVariable100)

Joins the IDTSVariable100 variable in the ProjectVariablesWrapper collection.

Remove(Object)

Removes a variable object from the ProjectVariablesWrapper instance.

Unlock()

Releases the locks on the variables on the variables collection.

Applies to