Microsoft Jet and Replication Objects

Delete Method

        Applies To

Removes the Filter object from the Filters collection of a Replica.

Syntax

Filters.Delete(Index)

Parameters

Index   A Variant value specifying the name or ordinal of the Filter object you want to delete.

Remarks

If two filters have the same name, the first filter will be removed. Use the ordinal value to explicitly delete a filter when more than one filter has the same name.

An error will occur if a filter with the name or ordinal specified does not exist in the collection.