Aracılığıyla paylaş


MergeArticle.ChangeMergeJoinFilter(MergeJoinFilter, MergeJoinFilter) Method

Definition

Changes a join filter that defined on a merge article.

public:
 void ChangeMergeJoinFilter(Microsoft::SqlServer::Replication::MergeJoinFilter ^ oldJoinFilter, Microsoft::SqlServer::Replication::MergeJoinFilter ^ newJoinFilter);
public void ChangeMergeJoinFilter (Microsoft.SqlServer.Replication.MergeJoinFilter oldJoinFilter, Microsoft.SqlServer.Replication.MergeJoinFilter newJoinFilter);
member this.ChangeMergeJoinFilter : Microsoft.SqlServer.Replication.MergeJoinFilter * Microsoft.SqlServer.Replication.MergeJoinFilter -> unit
Public Sub ChangeMergeJoinFilter (oldJoinFilter As MergeJoinFilter, newJoinFilter As MergeJoinFilter)

Parameters

oldJoinFilter
MergeJoinFilter

A MergeJoinFilter value that specifies the old filter.

newJoinFilter
MergeJoinFilter

A MergeJoinFilter value that specifies the new filter.

Remarks

Calling the ChangeMergeJoinFilter method is equivalent to executing sp_changemergefilter (Transact-SQL).

The ChangeMergeJoinFilter method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

Applies to