Metoda SfcKey.GetHashCode
Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server. Gets the hash code for the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Public MustOverride Function GetHashCode As Integer
'Użycie
Dim instance As SfcKey
Dim returnValue As Integer
returnValue = instance.GetHashCode()
public abstract int GetHashCode()
public:
virtual int GetHashCode() abstract override
override GetHashCode : unit -> int
public abstract function GetHashCode() : int
Wartość zwracana
Typ: System.Int32
A Int32 wartość określająca kod skrótu.
Uwagi
Metoda służy jako funkcja mieszania dla obiektu.Jest ona odpowiednia dla użycia w mieszania struktur danych i algorytmy jak tabela mieszania.