Partilhar via


Propriedade do RDL PerformanceCounters.SqlExecutionDuration

Gets or sets the time span value for the duration of the SQL execution in the performance counter.

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

Sintaxe

'Declaração
Public Shared Property SqlExecutionDuration As TimeSpan 
    Get 
    Set
'Uso
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)

Valor da propriedade

Tipo: System.TimeSpan
A TimeSpan value that represents the duration of the SQL execution in the performance counter.

Consulte também

Referência

PerformanceCounters Classe

Namespace Microsoft.SqlServer.Management.Smo