Sets project parameters.
Namespace: SSIS.Test.DtsAssembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)
Syntax
C# |
---|
public void SetProjectParameters( IEnumerable<KeyValuePair<string, Object>> nameValuePairs ) |
Visual Basic |
---|
Public Sub SetProjectParameters ( _ nameValuePairs As IEnumerable(Of KeyValuePair(Of String, Object)) _ ) |
Visual C++ |
---|
public: void SetProjectParameters( IEnumerable<KeyValuePair<String^, Object^>>^ nameValuePairs ) |
Parameters
- nameValuePairs
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'KeyValuePair<(Of <(<'String, Object>)>)>>)>)>
List of name-value pairs where name is a package parameter name and value is a value of that package parameter.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | If a parameter is not present in the project, ArgumentException is thrown. |