次の方法で共有


ActivityId.GetHashCode メソッド

現在のアクティビティのハッシュ コードを取得します。

名前空間:  Microsoft.SqlServer.XEvent
アセンブリ:  Microsoft.SqlServer.XEvent.Linq (Microsoft.SqlServer.XEvent.Linq.dll)

構文

'宣言
Public Overrides Function GetHashCode As Integer
'使用
Dim instance As ActivityId 
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
現在のアクティビティのハッシュ コードです。

関連項目

参照

ActivityId クラス

Microsoft.SqlServer.XEvent 名前空間