SetVariablesForPaths Method
Sets values to variables in the package.

Namespace: SSIS.Test.Dts
Assembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)

Syntax

C#
public void SetVariablesForPaths(
	IEnumerable<KeyValuePair<string, Object>> pathValuePairs
)
Visual Basic
Public Sub SetVariablesForPaths ( _
	pathValuePairs As IEnumerable(Of KeyValuePair(Of String, Object)) _
)
Visual C++
public:
void SetVariablesForPaths(
	IEnumerable<KeyValuePair<String^, Object^>>^ pathValuePairs
)

Parameters

pathValuePairs
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'KeyValuePair<(Of <(<'String, Object>)>)>>)>)>
List of name-value pairs where name is a variable name and value is a variable value.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionIf a variable is not present in the package, ArgumentException is thrown.

See Also