PerformanceCounters.SqlExecutionDuration Property

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

Syntax

'Declaration
Public Shared Property SqlExecutionDuration As TimeSpan
    Get
    Set
'Usage
Dim value As TimeSpan

value = PerformanceCounters.SqlExecutionDuration

PerformanceCounters.SqlExecutionDuration = value
public static TimeSpan SqlExecutionDuration { get; set; }
public:
static property TimeSpan SqlExecutionDuration {
    TimeSpan get ();
    void set (TimeSpan value);
}
static member SqlExecutionDuration : TimeSpan with get, set
static function get SqlExecutionDuration () : TimeSpan
static function set SqlExecutionDuration (value : TimeSpan)

Property Value

Type: System.TimeSpan