Share via


DacInstance.Key.Equals Method (Object, Object)

Determines whether the specified object key is equal to the referenced object key.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Shared Function Equals ( _
    obj1 As Object, _
    obj2 As Object _
) As Boolean
'Usage
Dim obj1 As Object
Dim obj2 As Object
Dim returnValue As Boolean

returnValue = DacInstance..::..Key.Equals(obj1, obj2)
public static bool Equals(
    Object obj1,
    Object obj2
)
public:
static bool Equals(
    Object^ obj1, 
    Object^ obj2
)
static member Equals : 
        obj1:Object * 
        obj2:Object -> bool 
public static function Equals(
    obj1 : Object, 
    obj2 : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
A Boolean value that specifies whether the specified key is equal to the referenced object key. If True, the key values are equal. Otherwise, False.

See Also

Reference

DacInstance.Key Class

Equals Overload

Microsoft.SqlServer.Management.Dac Namespace