Share via


Connection.Equals method

Compares this connection to another connection.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As Connection
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)

Parameters

Return value

Type: System.Boolean
true if obj is not a null reference (Nothing in Visual Basic) and the display names of the connections are the same; otherwise false.

See also

Reference

Connection class

Connection members

Microsoft.Office.Server.UserProfiles namespace