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
参数
- f1
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .FilterNode
The first filter node.
- f2
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .FilterNode
The second filter node.
- compInfo
类型:System.Globalization. . :: . .CompareOptions
The result of the compare method.
- cultureInfo
类型:System.Globalization. . :: . .CultureInfo
The origin of the nodes.
返回值
类型:System. . :: . .Boolean
The filter nodes to compare.