Helper.CompareArrays Method

Compares two arrays.

命名空间: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集: Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

语法

声明
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

参数

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

返回值

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.

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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