DiagnosticsService Class
Reserved for internal use. Adds diagnostic logging settings for Project Server.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
Microsoft.SharePoint.Administration.SPService
Microsoft.SharePoint.Administration.SPDiagnosticsServiceBase
Microsoft.Office.Project.Server.Administration.DiagnosticsService
Namespace: Microsoft.Office.Project.Server.Administration
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
<GuidAttribute("4C80F624-7121-487c-A305-746281C07BE8")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class DiagnosticsService _
Inherits SPDiagnosticsServiceBase
'Usage
Dim instance As DiagnosticsService
[CLSCompliantAttribute(false)]
[GuidAttribute("4C80F624-7121-487c-A305-746281C07BE8")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class DiagnosticsService : SPDiagnosticsServiceBase
Remarks
The DiagnosticsService class extends the SPDiagnosticsServiceBase class in Microsoft SharePoint Foundation 2010 for the diagnostic logging category manager.
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.