Partager via


Query.Timeout Property

Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the amount of time, in milliseconds, before the query request times out.

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

Syntax

'Declaration
Public Property Timeout As Integer
    Get
    Set
'Usage
Dim instance As Query
Dim value As Integer

value = instance.Timeout

instance.Timeout = value
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.Office.Server.Search.Query Namespace