Gets a parameter.
Namespace: SSIS.Test.DtsAssembly: 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 package, otherwise throws ArgumentException.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | If a parameter with a given name is not present in the package, ArgumentException is thrown. |