Share via


FilterNode.Compare Method

Compares two filter nodes at the same time. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Function Compare ( _
    f1 As FilterNode, _
    f2 As FilterNode, _
    compInfo As CompareOptions, _
    cultureInfo As CultureInfo _
) As Boolean
'Usage
Dim f1 As FilterNode
Dim f2 As FilterNode
Dim compInfo As CompareOptions
Dim cultureInfo As CultureInfo
Dim returnValue As Boolean

returnValue = FilterNode.Compare(f1, f2, _
    compInfo, cultureInfo)
public static bool Compare(
    FilterNode f1,
    FilterNode f2,
    CompareOptions compInfo,
    CultureInfo cultureInfo
)
public:
static bool Compare(
    FilterNode^ f1, 
    FilterNode^ f2, 
    CompareOptions compInfo, 
    CultureInfo^ cultureInfo
)
static member Compare : 
        f1:FilterNode * 
        f2:FilterNode * 
        compInfo:CompareOptions * 
        cultureInfo:CultureInfo -> bool 
public static function Compare(
    f1 : FilterNode, 
    f2 : FilterNode, 
    compInfo : CompareOptions, 
    cultureInfo : CultureInfo
) : boolean

Parameters

Return Value

Type: System.Boolean
The filter nodes to compare.