GetHashCode 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Overrides Function GetHashCode As Integer
用法
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

返回值

类型:System. . :: . .Int32
A Int32 value that specifies the hash code.