共用方式為


PerformanceCounters.EnumQueriesCount 屬性

Gets or sets the number of enumerated queries in the performance counter.

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

語法

'宣告
Public Shared Property EnumQueriesCount As Integer 
    Get 
    Set
'用途
Dim value As Integer 

value = PerformanceCounters.EnumQueriesCount 

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

屬性值

型別:System.Int32
An integer that represents the number of enumerated queries in the performance counter.

請參閱

參考

PerformanceCounters 類別

Microsoft.SqlServer.Management.Smo 命名空間