IDTSVariables100.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 IDTSVariable100 object to the collection.
public:
Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariable100 ^ Add(System::String ^ bstrName, bool bReadOnly, System::String ^ bstrNamespace, System::Object ^ vValue);
[System.Runtime.InteropServices.DispId(2)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100 Add (string bstrName, bool bReadOnly, string bstrNamespace, object vValue);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member 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 package, task, or container variable to add to the collection.
- bReadOnly
- Boolean
true to indicate that the variable is read-only; otherwise, false.
- bstrNamespace
- String
The namespace for the variable.
- vValue
- Object
The design-time value of the variable.
Returns
The added IDTSVariable100 object to the collection.
- Attributes
Remarks
For more information, see Variables.