Partilhar via


DtsObject.op_Equality Method

Determines whether the two specified objects have the same value.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    dtsObj1 As DtsObject, _
    dtsObj2 As DtsObject _
) As Boolean
public static bool operator == (
    DtsObject dtsObj1,
    DtsObject dtsObj2
)
public:
static bool operator == (
    DtsObject^ dtsObj1, 
    DtsObject^ dtsObj2
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

  • dtsObj1
    The object to compare against dtsObj2.
  • dtsObj2
    The object to compare against dtsObj1.

Return Value

true if the value of dtsObj1 is the same as the value of dtsObj2; otherwise, false.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DtsObject Class
DtsObject Members
Microsoft.SqlServer.Dts.Runtime Namespace