Metoda ScriptOption.GetHashCode
Zwraca kod skrótu dla tego obiektu.
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 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
Wartość zwracana
Typ: System.Int32
A Int32 wartość określająca kod skrótu.
Uwagi
Metoda ta służy jako funkcja mieszania dla obiektu.Jest ona odpowiednia dla użycia w mieszania struktur danych i algorytmy jak tabela mieszania.