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.

참고 항목

참조

PerformanceCounters 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스