共用方式為


Session.IdentityKey 屬性

Gets the identity key of the session.

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

語法

'宣告
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As Session.Key 
    Get
'用途
Dim instance As Session 
Dim value As Session.Key 

value = instance.IdentityKey
[SfcIgnoreAttribute]
public Session.Key IdentityKey { get; }
[SfcIgnoreAttribute]
public:
property Session.Key^ IdentityKey {
    Session.Key^ get ();
}
[<SfcIgnoreAttribute>]
member IdentityKey : Session.Key
function get IdentityKey () : Session.Key

屬性值

型別:Microsoft.SqlServer.Management.XEvent.Session.Key
Returns the identity key.

請參閱

參考

Session 類別

Microsoft.SqlServer.Management.XEvent 命名空間