PerformanceCounters.SqlExecutionDuration 属性
Gets or sets the time span value for the duration of the SQL execution in the performance counter.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Property SqlExecutionDuration As TimeSpan
Get
Set
用法
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)
属性值
类型:System.TimeSpan
A TimeSpan value that represents the duration of the SQL execution in the performance counter.