Share via


TargetInfo.IdentityKey Property

Gets the identity key of a TargetInfo object.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
<SfcIgnoreAttribute> _
Public ReadOnly Property IdentityKey As TargetInfo.Key 
    Get
'Usage
Dim instance As TargetInfo 
Dim value As TargetInfo.Key 

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

Property Value

Type: Microsoft.SqlServer.Management.XEvent.TargetInfo.Key
Returns an SfcKey.

Remarks

The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is found in the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.

See Also

Reference

TargetInfo Class

Microsoft.SqlServer.Management.XEvent Namespace