共用方式為


TimeStamp 屬性

Gets the time and date when the statement event occurred.

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

語法

'宣告
Public ReadOnly Property TimeStamp As DateTime
    Get
'用途
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

屬性值

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