Condividi tramite


Urn.GetHashCode Method

Returns the hash code for this object.

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Sintassi

'Dichiarazione
Public Overrides Function GetHashCode As Integer
public override int GetHashCode ()
public:
virtual int GetHashCode () override
public int GetHashCode ()
public override function GetHashCode () : int

Valore restituito

A Int32 value that specifies the hash code.

Osservazioni

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.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

How to: Script Out the Dependencies for a Database in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

Urn Class
Urn Members
Microsoft.SqlServer.Management.Smo Namespace