Udostępnij przez


Metoda ServerEvent.GetHashCode

Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Służy jako funkcja mieszania, nadające się do wykorzystania w algorytmami mieszania i dane struktur jak tabela mieszania.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public Overrides Function GetHashCode As Integer
'Użycie
Dim instance As ServerEvent
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

Wartość zwracana

Typ: System.Int32
A Int32 wartość określająca kod skrótu.