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 命名空间