Share via


Session.StartTime Property

Gets the start time.

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

Syntax

'Declaration
<SfcPropertyAttribute(Data := True)> _
Public ReadOnly Property StartTime As DateTime 
    Get
'Usage
Dim instance As Session 
Dim value As DateTime 

value = instance.StartTime
[SfcPropertyAttribute(Data = true)]
public DateTime StartTime { get; }
[SfcPropertyAttribute(Data = true)]
public:
property DateTime StartTime {
    DateTime get ();
}
[<SfcPropertyAttribute(Data = true)>]
member StartTime : DateTime
function get StartTime () : DateTime

Property Value

Type: System.DateTime
A DateTime object that contains the start time.

See Also

Reference

Session Class

Microsoft.SqlServer.Management.XEvent Namespace