Compartilhar via


Método GetHashCode

Gets the hash code for the server group.

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

Sintaxe

'Declaração
Public Overrides Function GetHashCode As Integer
'Uso
Dim instance As ServerGroup..::..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

Valor de retorno

Tipo: System. . :: . .Int32
A Int32 value that specifies the hash code for the registered servers store.

Comentários

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