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
- filterParameter
Type: System.Data.SqlClient.SqlParameter
The SqlParameter object to add to the FilterParameterCollection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | filterParameters is a null reference (Nothing in Visual Basic). |