次の方法で共有


SqlExecutionDuration プロパティ

名前空間:  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