共用方式為


SPDiagnosticsULSProvider Class

Represents a diagnostic provider which watches the ULS trace log and saves high level data to the logging database.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPJobDefinition
        Microsoft.SharePoint.Diagnostics.SPDiagnosticsProviderJobDefinition
          Microsoft.SharePoint.Diagnostics.SPDiagnosticsProvider
            Microsoft.SharePoint.Diagnostics.SPDiagnosticsULSProvider

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

Syntax

'Declaration
<GuidAttribute("AA4331A5-C5D3-44ae-9E19-257052D8BAA1")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDiagnosticsULSProvider _
    Inherits SPDiagnosticsProvider
'Usage
Dim instance As SPDiagnosticsULSProvider
[GuidAttribute("AA4331A5-C5D3-44ae-9E19-257052D8BAA1")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDiagnosticsULSProvider : SPDiagnosticsProvider

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.

See Also

Reference

SPDiagnosticsULSProvider Members

Microsoft.SharePoint.Diagnostics Namespace