Dela via


ServerEvent.GetHashCode Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Serves as a hash function, suitable for use in hashing algorithms and data structures like a hash table.

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

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
'Usage
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

Return Value

Type: System.Int32
A Int32 value that specifies the hash code.