Share 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