共用方式為


Compare 方法

Compares two filter nodes at the same time. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Shared Function Compare ( _
    f1 As FilterNode, _
    f2 As FilterNode, _
    compInfo As CompareOptions, _
    cultureInfo As CultureInfo _
) As Boolean
'用途
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

參數

傳回值

型別:System. . :: . .Boolean
The filter nodes to compare.