Share via


RegisteredServersStore.Key.GetHashCode Method

Gets the hash code for the registered servers store.

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

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
Dim instance As RegisteredServersStore.Key 
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 Int32 value that specifies the hash code for the registered servers store.

Remarks

The method serves as a hash function for the registered servers store. It is suitable for use in hashing algorithms and data structures like a hash table.

See Also

Reference

RegisteredServersStore.Key Class

Microsoft.SqlServer.Management.RegisteredServers Namespace