共用方式為


PerformanceCounters.EnumQueriesDuration 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared Property EnumQueriesDuration As TimeSpan 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

PerformanceCounters 類別

Microsoft.SqlServer.Management.Smo 命名空間