Partager via


DacDomain.Key.GetHashCode Method

Gets the hash code for the DAC domain key.

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

Syntax

'Déclaration
Public Overrides Function GetHashCode As Integer
'Utilisation
Dim instance As DacDomain..::..Key
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: Int32
A Int32 value that specifies the hash code.

Remarks

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

See Also

Reference

DacDomain.Key Class

Microsoft.SqlServer.Management.Dac Namespace