Compartilhar via


Método EventInfo.Key.Equals (Object, Object)

Determines whether a EventInfo.Key object is equal to another object.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)

Sintaxe

'Declaração
Public Shared Function Equals ( _
    obj1 As Object, _
    obj2 As Object _
) As Boolean
'Uso
Dim obj1 As Object 
Dim obj2 As Object 
Dim returnValue As Boolean 

returnValue = EventInfo.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

Parâmetros

Valor de retorno

Tipo: System.Boolean
A Boolean value that specifies the outcome of performing an equality operation on two objects. If True , the two objects are equal; otherwise False.

Consulte também

Referência

EventInfo.Key Classe

Sobrecarregado Equals

Namespace Microsoft.SqlServer.Management.XEvent