Partager via


ResultTableCollection.ElapsedTime Property

Gets or sets the total duration of the query, combining the time spent executing the query on the database server with the time spent in the SharePoint Server search object model.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property ElapsedTime As Integer
    Get
    Set
'Usage
Dim instance As ResultTableCollection
Dim value As Integer

value = instance.ElapsedTime

instance.ElapsedTime = value
[DataMemberAttribute]
public int ElapsedTime { get; set; }

Property Value

Type: System.Int32
A 32-bit integer indicating how long the query ran, in milliseconds.

See Also

Reference

ResultTableCollection Class

ResultTableCollection Members

Microsoft.Office.Server.Search.Query Namespace