Share via


SPServerBinding.GetHashCode method

Returns the hashcode of the server binding.

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

Syntax

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

returnValue = instance.GetHashCode()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override int GetHashCode()

Return value

Type: System.Int32
A 32-bit signed integer hash code taken from the Port xor with the hash code of the HostHeader.

See also

Reference

SPServerBinding class

SPServerBinding members

Microsoft.SharePoint.Administration namespace