Delen via


SfcKey.GetHashCode Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the hash code for the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

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

Return Value

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

Remarks

The method serves as a hash function for the object. It is suitable for use in hashing algorithms and data structures like a hash table.