Partager via


Helper.CompareArrays Method

Compares two arrays.

Espace de noms: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly: Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

Syntaxe

'Déclaration
Public Shared Function CompareArrays ( _
    a As Object(), _
    b As Object() _
) As Boolean
public static bool CompareArrays (
    Object[] a,
    Object[] b
)
public:
static bool CompareArrays (
    array<Object^>^ a, 
    array<Object^>^ b
)
public static boolean CompareArrays (
    Object[] a, 
    Object[] b
)
public static function CompareArrays (
    a : Object[], 
    b : Object[]
) : boolean

Paramètres

  • a
    The first array to have in the comparison.
  • b
    The second array that you want to compare to the first.

Valeur de retour

true if both arrays are null; false is returned if either array is null, their lengths are different, or an element in one is different that the matching element in the other array.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Helper Class
Helper Members
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace