Share via


Propriété EnumQueriesDuration

Gets or sets the time interval for the duration of the queries in the performance counter.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Property EnumQueriesDuration As TimeSpan
    Get
    Set
'Utilisation
Dim value As TimeSpan

value = PerformanceCounters.EnumQueriesDuration

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

Valeur de propriété

Type : System. . :: . .TimeSpan
A TimeSpan value that represents the time interval for the duration of the queries in the performance counter.