共用方式為


QueryProperties.Timeout Property

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
Public Property Timeout As Integer
    Get
    Set
'Usage
Dim instance As QueryProperties
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

QueryProperties Class

QueryProperties Members

Microsoft.SharePoint.Search.Query Namespace