Share via


NameKey.GetHashCode Method

Returns the hash code for this NameKey.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As NameKey 
Dim returnValue As Integer 

returnValue = instance.GetHashCode()
public override int GetHashCode()
public:
virtual int GetHashCode() override
abstract GetHashCode : unit -> int  
override GetHashCode : unit -> int
public override function GetHashCode() : int

Return Value

Type: System.Int32
A 32-bit signed integer that contains the hash code for this NameKey instance.

See Also

Reference

NameKey Class

Microsoft.SqlServer.Management.Utility Namespace