Compartilhar via


Método GetHashCode

Retorna o código hash do objeto.

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

Sintaxe

'Declaração
Public Overrides Function GetHashCode As Integer
'Uso
Dim instance As ScriptOption
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
Um valor Int32 que especifica o código hash.

Comentários

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

Exemplos

Gerando scripts