Compartilhar via


SPDiagnosticsBlockingQueryProvider Class

Looks for and records SQL Queries that are blocking other SQL queries in all databases in the system.

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.SPDiagnosticsSqlProvider
              Microsoft.SharePoint.Diagnostics.SPDiagnosticsBlockingQueryProvider

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

Syntax

'Declaration
<GuidAttribute("30BC3359-B628-4be8-AD2B-05F043642C7C")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDiagnosticsBlockingQueryProvider _
    Inherits SPDiagnosticsSqlProvider
'Usage
Dim instance As SPDiagnosticsBlockingQueryProvider
[GuidAttribute("30BC3359-B628-4be8-AD2B-05F043642C7C")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDiagnosticsBlockingQueryProvider : SPDiagnosticsSqlProvider

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

SPDiagnosticsBlockingQueryProvider Members

Microsoft.SharePoint.Diagnostics Namespace