共用方式為


SPDiagnosticsBlockingQueryProvider class

尋找並記錄會封鎖其他 SQL 查詢中的所有資料庫系統中的 SQL 查詢。

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

'宣告
<GuidAttribute("30BC3359-B628-4be8-AD2B-05F043642C7C")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDiagnosticsBlockingQueryProvider _
    Inherits SPDiagnosticsSqlProvider
'用途
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.

請參閱

參照

SPDiagnosticsBlockingQueryProvider members

Microsoft.SharePoint.Diagnostics namespace