共用方式為


RegisteredServersStore.Key.GetHashCode 方法

Gets the hash code for the registered servers store.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Public Overrides Function GetHashCode As Integer
'用途
Dim instance As RegisteredServersStore.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

傳回值

型別:System.Int32
A Int32 value that specifies the hash code for the registered servers store.

備註

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

請參閱

參考

RegisteredServersStore.Key 類別

Microsoft.SqlServer.Management.RegisteredServers 命名空間