Share via


ProjectVariablesWrapper.Add(String, Boolean, String, Object) Method

Definition

Adds a specified IDTSVariable100 object to the ProjectVariablesWrapper instance.

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariable100 ^ Add(System::String ^ bstrName, bool bReadOnly, System::String ^ bstrNamespace, System::Object ^ vValue);
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100 Add (string bstrName, bool bReadOnly, string bstrNamespace, object vValue);
abstract member Add : string * bool * string * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
override this.Add : string * bool * string * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
Public Function Add (bstrName As String, bReadOnly As Boolean, bstrNamespace As String, vValue As Object) As IDTSVariable100

Parameters

bstrName
String

The name of the variable to add to the collection.

bReadOnly
Boolean

Indicates whether the variable is read-only or whether the variable can be modified.

bstrNamespace
String

The namespace for the variable.

vValue
Object

The design-time value of the variable.

Returns

The IDTSVariable100 that was added to the ProjectVariablesWrapper instance.

Implements

Applies to