Share via


Query.Timeout property

NOTE: This API is now obsolete.

Gets or sets the amount of time, in milliseconds, before the query request times out.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property Timeout As Integer
    Get
    Set
'Usage
Dim instance As Query
Dim value As Integer

value = instance.Timeout

instance.Timeout = value
[ObsoleteAttribute("This class is obsolete.")]
public int Timeout { get; set; }

Property value

Type: System.Int32
A 32-bit integer representing the number of milliseconds.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Search.Query namespace