共用方式為


BackupDeviceItem.GetHashCode 方法

Gets the hash code for the object.

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

語法

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

備註

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.

請參閱

參考

BackupDeviceItem 類別

Microsoft.SqlServer.Management.Smo 命名空間