다음을 통해 공유


SqlQueryData.MonitorableDuration Property

Gets or sets the maximum length of time for which the query can be monitored.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Property MonitorableDuration As Double
    Get
    Set
'Usage
Dim value As Double

value = SqlQueryData.MonitorableDuration

SqlQueryData.MonitorableDuration = value
public static double MonitorableDuration { get; set; }

Property Value

Type: System.Double
A Double value that is a maximum length of time for which the query can be monitored, in milliseconds.

Remarks

This value can be configured by setting the QueryLoggingThreshold property of the SPDatabaseService class.

Queries that exceed this maximum value are automatically written to the trace log for diagnosis.

See Also

Reference

SqlQueryData Class

SqlQueryData Members

Microsoft.SharePoint.Utilities Namespace