Sets project parameters.

Namespace: SSIS.Test.Dts
Assembly: 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

ExceptionCondition
System..::..ArgumentExceptionIf a parameter is not present in the project, ArgumentException is thrown.

See Also