Udostępnij przez


PerformanceCounters.DoCount Property

Returns Boolean value that determines whether the performance counter is enabled.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Shared Property DoCount As Boolean
public static bool DoCount { get; set; }
public:
static property bool DoCount {
    bool get ();
    void set (bool value);
}
/** @property */
public static boolean get_DoCount ()

/** @property */
public static void set_DoCount (boolean value)
public static function get DoCount () : boolean

public static function set DoCount (value : boolean)

Property Value

A Boolean value that determines whether the performance counter is enabled. If True, it is enabled. Otherwise, False.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.