GetParameter Method
Gets a project parameter.

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

Syntax

C#
public DtsParameter GetParameter(
	string name
)
Visual Basic
Public Function GetParameter ( _
	name As String _
) As DtsParameter
Visual C++
public:
DtsParameter^ GetParameter(
	String^ name
)

Parameters

name
Type: System..::..String
Name of the parameter to get.

Return Value

Instance of DtsParameter if found in the project, otherwise throws ArgumentException.

Exceptions

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

See Also