共用方式為


SPSqlQueryCounter constructor (Int32, Double)

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

Syntax

'宣告
Public Sub New ( _
    maxAllowedQueries As Integer, _
    monitorableDuration As Double _
)
'用途
Dim maxAllowedQueries As Integer
Dim monitorableDuration As Double

Dim instance As New SPSqlQueryCounter(maxAllowedQueries, _
    monitorableDuration)
public SPSqlQueryCounter(
    int maxAllowedQueries,
    double monitorableDuration
)

參數

請參閱

參照

SPSqlQueryCounter class

SPSqlQueryCounter members

SPSqlQueryCounter overload

Microsoft.SharePoint.Utilities namespace