Sets configuration strings to configurations 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 SetConfigurationStrings(
	IEnumerable<KeyValuePair<string, string>> nameValuePairs
)
Visual Basic
Public Sub SetConfigurationStrings ( _
	nameValuePairs As IEnumerable(Of KeyValuePair(Of String, String)) _
)
Visual C++
public:
void SetConfigurationStrings(
	IEnumerable<KeyValuePair<String^, String^>>^ nameValuePairs
)

Parameters

nameValuePairs
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'KeyValuePair<(Of <(<'String, String>)>)>>)>)>
List of name-value pairs where name is a configuration name and value is a connection string.

Exceptions

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

See Also