DynamicFilters Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The DynamicFilters property exposes filter clause interpretation for the referenced merge replication publication.

Syntax

object.DynamicFilters [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDynamicFilters(LPBOOL pRetVal);
HRESULT SetDynamicFilters(BOOL NewValue);

Remarks

If TRUE, the publication is filtered dynamically.

If FALSE (default), the publication is not filtered dynamically.

Note

If an application sets DynamicFiltersafter the initial snapshot has been created, a new snapshot must be generated and reapplied to each subscription. Snapshots are applied when the next scheduled snapshot and merge agent run.