Share via


SPServerBinding.Equals method

Overwrite the equals so that when the object gets compared during restore we get a proper comparison operator.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
'Usage
Dim instance As SPServerBinding
Dim o As Object
Dim returnValue As Boolean

returnValue = instance.Equals(o)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool Equals(
    Object o
)

Parameters

Return value

Type: System.Boolean
Returns true if the object is a SPServerBinding and its values are the same as this instance; otherwise, false.

See also

Reference

SPServerBinding class

SPServerBinding members

Microsoft.SharePoint.Administration namespace