ProjectVariablesWrapper.Add(String, Boolean, String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.