dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlParameterCollection Class / Add Method / Add(String,Object) Method
The name of the parameter.
The Value of the SqlParameter to add to the collection.

Add(String,Object) Method
Adds a SqlParameter to the SqlParameterCollection given the parameter name and value.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal parameterName As String, _
   ByVal value As Object _
) As SqlParameter
 

Parameters

parameterName
The name of the parameter.
value
The Value of the SqlParameter to add to the collection.

Return Value

The new SqlParameter object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also