Share via


Session.ID Property

Gets the ID object.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ID As Integer 
    Get
'Usage
Dim instance As Session 
Dim value As Integer 

value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ID : int
function get ID () : int

Property Value

Type: System.Int32
The ID object.

See Also

Reference

Session Class

Microsoft.SqlServer.Management.XEvent Namespace