StatementEventArgs.TimeStamp Property

Gets the time and date when the statement event occurred.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public ReadOnly Property TimeStamp As DateTime
    Get
'Usage
Dim instance As StatementEventArgs
Dim value As DateTime

value = instance.TimeStamp
public DateTime TimeStamp { get; }
public:
property DateTime TimeStamp {
    DateTime get ();
}
member TimeStamp : DateTime
function get TimeStamp () : DateTime

Property Value

Type: System.DateTime
A DateTime system object value that specifies the time and date when the statement event occurred.