RegisteredServer.Key.Equals Method (Object, Object)
Determines whether the two object keys are equal.
Namespace: Microsoft.SqlServer.Management.RegisteredServers
Assembly: Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.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 = RegisteredServer..::..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
- obj1
Type: System.Object
An Object object that specifies the first object.
- obj2
Type: System.Object
An Object object that specifies the second object.
Return Value
Type: System.Boolean
true if the two object key are equal; otherwise, false.