Aracılığıyla paylaş


PerformanceCounters.EnumQueriesDuration Property

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

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

Syntax

'Bildirim
Public Shared Property EnumQueriesDuration As TimeSpan
    Get
    Set
'Kullanım
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)

Property Value

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

See Also

Reference

PerformanceCounters Class

Microsoft.SqlServer.Management.Smo Namespace