Share via


ServerMessageEventArgs.ExecutionTime Property

Gets the amount of client wall-time it took to get the result back from the server.

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

Syntax

'Declaration
Public ReadOnly Property ExecutionTime As TimeSpan
    Get
'Usage
Dim instance As ServerMessageEventArgs
Dim value As TimeSpan

value = instance.ExecutionTime
public TimeSpan ExecutionTime { get; }
public:
virtual property TimeSpan ExecutionTime {
    TimeSpan get () sealed;
}
abstract ExecutionTime : TimeSpan
override ExecutionTime : TimeSpan
final function get ExecutionTime () : TimeSpan

Property Value

Type: System.TimeSpan
A TimeSpan value representing the amount of client wall-time taken for the result to return from the server.

Implements

IResultInfo.ExecutionTime