Compartir a través de


Equals Método (Object, Object)

Determines whether the two specified objects are the same.

Espacio de nombres:  Microsoft.SqlServer.Management.RegisteredServers
Ensamblado:  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxis

'Declaración
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 = ServerGroup..::..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 devuelto

Tipo: System. . :: . .Boolean
A Boolean value that is true if the two objects are the same. Otherwise, false.