PerformanceCounters.DoCount 屬性
Returns Boolean value that determines whether the performance counter is enabled.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Property DoCount As Boolean
Get
Set
'用途
Dim value As Boolean
value = PerformanceCounters.DoCount
PerformanceCounters.DoCount = value
public static bool DoCount { get; set; }
public:
static property bool DoCount {
bool get ();
void set (bool value);
}
static member DoCount : bool with get, set
static function get DoCount () : boolean
static function set DoCount (value : boolean)
屬性值
型別:System.Boolean
A Boolean value that determines whether the performance counter is enabled.If True, it is enabled. Otherwise, False.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間