SPSystemPerformanceCounterMonitor.Name property
取得監視器的完整名稱。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides ReadOnly Property Name As String
Get
'用途
Dim instance As SPSystemPerformanceCounterMonitor
Dim value As String
value = instance.Name
public override string Name { get; }
Property value
Type: System.String
在表單Computer監視器名稱 \Category\Counter[\Instance]。
Implements
備註
名稱的前三個部分是來自於Computer、 Category和Counter屬性,分別。如果只有一個執行個體的計數器,沒有instance部份的名稱。否則, Instance永遠是SharePoint Foundation Web 應用程式,例如 「 SharePoint – 80"的名稱或程序,例如"w3wp 」 的名稱。
請參閱
參照
SPSystemPerformanceCounterMonitor class