Share via


FilterParameterCollection.Add Method

Adds a filter parameter to the end of the collection.

Namespace:  Microsoft.Synchronization.Data.Server
Assembly:  Microsoft.Synchronization.Data.Server (in Microsoft.Synchronization.Data.Server.dll)

Syntax

'Declaration
Public Sub Add ( _
    filterParameter As SqlParameter _
)
'Usage
Dim instance As FilterParameterCollection
Dim filterParameter As SqlParameter

instance.Add(filterParameter)
public void Add(
    SqlParameter filterParameter
)
public:
void Add(
    SqlParameter^ filterParameter
)
member Add : 
        filterParameter:SqlParameter -> unit 
public function Add(
    filterParameter : SqlParameter
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

filterParameters is a null reference (Nothing in Visual Basic).

See Also

Reference

FilterParameterCollection Class

Microsoft.Synchronization.Data.Server Namespace