共用方式為


PerformanceCounters.DiscoverDependenciesDuration 屬性

Gets or sets the time period to discover dependencies.

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

語法

'宣告
Public Shared Property DiscoverDependenciesDuration As TimeSpan 
    Get 
    Set
'用途
Dim value As TimeSpan 

value = PerformanceCounters.DiscoverDependenciesDuration 

PerformanceCounters.DiscoverDependenciesDuration = value
public static TimeSpan DiscoverDependenciesDuration { get; set; }
public:
static property TimeSpan DiscoverDependenciesDuration {
    TimeSpan get ();
    void set (TimeSpan value);
}
static member DiscoverDependenciesDuration : TimeSpan with get, set
static function get DiscoverDependenciesDuration () : TimeSpan 
static function set DiscoverDependenciesDuration (value : TimeSpan)

屬性值

型別:System.TimeSpan
A Timespan value that specifies the discovery dependencies duration.

請參閱

參考

PerformanceCounters 類別

Microsoft.SqlServer.Management.Smo 命名空間