共用方式為


SPDataRetrievalProvider.RequestTimeout Property

Gets or sets the time in seconds before the data-retrieval service times out if the data source does not respond.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property RequestTimeout As Integer
    Get
    Set
'Usage
Dim instance As SPDataRetrievalProvider
Dim value As Integer

value = instance.RequestTimeout

instance.RequestTimeout = value
public int RequestTimeout { get; set; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the time in seconds. The default value is 30.

See Also

Reference

SPDataRetrievalProvider Class

SPDataRetrievalProvider Members

Microsoft.SharePoint.Administration Namespace