Méthode Compare
Compares two filter nodes at the same time. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Shared Function Compare ( _
f1 As FilterNode, _
f2 As FilterNode, _
compInfo As CompareOptions, _
cultureInfo As CultureInfo _
) As Boolean
'Utilisation
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
Paramètres
- f1
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .FilterNode
The first filter node.
- f2
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .FilterNode
The second filter node.
- compInfo
Type : System.Globalization. . :: . .CompareOptions
The result of the compare method.
- cultureInfo
Type : System.Globalization. . :: . .CultureInfo
The origin of the nodes.
Valeur de retour
Type : System. . :: . .Boolean
The filter nodes to compare.