مشاركة عبر


MergeArticle.RemoveMergeJoinFilter Method

Removes the specified merge join filter from the article.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Sub RemoveMergeJoinFilter ( _
    mergeJoinFilterName As String _
)
'Usage
Dim instance As MergeArticle 
Dim mergeJoinFilterName As String

instance.RemoveMergeJoinFilter(mergeJoinFilterName)
public void RemoveMergeJoinFilter(
    string mergeJoinFilterName
)
public:
void RemoveMergeJoinFilter(
    String^ mergeJoinFilterName
)
member RemoveMergeJoinFilter : 
        mergeJoinFilterName:string -> unit
public function RemoveMergeJoinFilter(
    mergeJoinFilterName : String
)

Parameters

  • mergeJoinFilterName
    Type: System.String
    A String value that specifies the name of join filter to remove.

Remarks

Calling the RemoveMergeJoinFilter method is equivalent to executing sp_dropmergefilter (Transact-SQL).

The RemoveMergeJoinFilter method can be called only 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.

See Also

Reference

MergeArticle Class

Microsoft.SqlServer.Replication Namespace