DiagnosticsService 类 (Microsoft.Office.Server.Administration)

此类及其成员仅供内部使用,不应在代码中使用。

命名空间: Microsoft.Office.Server.Administration
程序集: Microsoft.Office.Server (在 microsoft.office.server.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class DiagnosticsService
    Inherits SPService
    Implements IDiagnosticsManager
用法
Dim instance As DiagnosticsService
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class DiagnosticsService : SPService, IDiagnosticsManager

继承层次结构

System.Object
   Microsoft.SharePoint.Administration.SPAutoSerializingObject
     Microsoft.SharePoint.Administration.SPPersistedObject
       Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
         Microsoft.SharePoint.Administration.SPService
          Microsoft.Office.Server.Administration.DiagnosticsService

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

DiagnosticsService 成员
Microsoft.Office.Server.Administration 命名空间