Share via


PerformanceCounters.DoCount-Eigenschaft

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

'Declaration
Public Shared Property DoCount As Boolean 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Beispiele

Verwenden von Verbindungsservern in SMO

Siehe auch

Verweis

PerformanceCounters Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verbindungsserver (Datenbankmodul)

sp_addlinkedserver (Transact-SQL)