Metodo Compare
Compares two Urn objects. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Shared Function Compare ( _
u1 As Urn, _
u2 As Urn, _
compInfoList As CompareOptions(), _
cultureInfo As CultureInfo _
) As Boolean
'Utilizzo
Dim u1 As Urn
Dim u2 As Urn
Dim compInfoList As CompareOptions()
Dim cultureInfo As CultureInfo
Dim returnValue As Boolean
returnValue = Urn.Compare(u1, u2, _
compInfoList, cultureInfo)
public static bool Compare(
Urn u1,
Urn u2,
CompareOptions[] compInfoList,
CultureInfo cultureInfo
)
public:
static bool Compare(
Urn^ u1,
Urn^ u2,
array<CompareOptions>^ compInfoList,
CultureInfo^ cultureInfo
)
static member Compare :
u1:Urn *
u2:Urn *
compInfoList:CompareOptions[] *
cultureInfo:CultureInfo -> bool
public static function Compare(
u1 : Urn,
u2 : Urn,
compInfoList : CompareOptions[],
cultureInfo : CultureInfo
) : boolean
Parametri
- u1
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
An Urn object to compare.
- u2
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
An Urn object to compare.
- compInfoList
Tipo: array<System.Globalization. . :: . .CompareOptions> [] () [] []
A array<CompareOptions>[]()[][] array.
- cultureInfo
Tipo: System.Globalization. . :: . .CultureInfo
A CultureInfo object.
Valore restituito
Tipo: System. . :: . .Boolean
A Boolean value that specifies True if the two objects are equal.