MergeArticle.ScriptMergeJoinFilter Method

Returns a Transact-SQL script of the merge join filter attached to the merge article.

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

Syntax

'Declaration
Public Function ScriptMergeJoinFilter ( _
    mergeJoinFilter As MergeJoinFilter, _
    scriptOption As ScriptOptions _
) As String
'Usage
Dim instance As MergeArticle 
Dim mergeJoinFilter As MergeJoinFilter 
Dim scriptOption As ScriptOptions 
Dim returnValue As String 

returnValue = instance.ScriptMergeJoinFilter(mergeJoinFilter, _
    scriptOption)
public string ScriptMergeJoinFilter(
    MergeJoinFilter mergeJoinFilter,
    ScriptOptions scriptOption
)
public:
String^ ScriptMergeJoinFilter(
    MergeJoinFilter^ mergeJoinFilter, 
    ScriptOptions scriptOption
)
member ScriptMergeJoinFilter : 
        mergeJoinFilter:MergeJoinFilter * 
        scriptOption:ScriptOptions -> string
public function ScriptMergeJoinFilter(
    mergeJoinFilter : MergeJoinFilter, 
    scriptOption : ScriptOptions
) : String

Parameters

Return Value

Type: System.String
A String value that contains the Transact-SQL script.

See Also

Reference

MergeArticle Class

Microsoft.SqlServer.Replication Namespace