다음을 통해 공유


SPDatabaseService.QueryLoggingThreshold property

The amount of time, in milliseconds that a query must run before the system overrides the current logging levels and writes the query text and callstack in the trace log.

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

Syntax

'Declaration
Public Property QueryLoggingThreshold As TimeSpan
    Get
    Set
'Usage
Dim instance As SPDatabaseService
Dim value As TimeSpan

value = instance.QueryLoggingThreshold

instance.QueryLoggingThreshold = value
public TimeSpan QueryLoggingThreshold { get; set; }

Property value

Type: System.TimeSpan
Returns TimeSpan.

See also

Reference

SPDatabaseService class

SPDatabaseService members

Microsoft.SharePoint.Administration namespace