共用方式為


SPDiagnosticsArea class

代表邏輯容器的一或多個SPDiagnosticsCategories物件,以及用來實作自訂的診斷服務。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPDiagnosticsItem
    Microsoft.SharePoint.Administration.SPDiagnosticsArea

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPDiagnosticsArea _
    Inherits SPDiagnosticsItem
'用途
Dim instance As SPDiagnosticsArea
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPDiagnosticsArea : SPDiagnosticsItem

Thread safety

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

請參閱

參照

SPDiagnosticsArea members

Microsoft.SharePoint.Administration namespace