Share via


QueryDefinition.Timeout Property

Gets or sets the length of time (in seconds) that the report server waits for a query to return results before abandoning the query.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

Syntax

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

value = instance.Timeout

instance.Timeout = value
public int Timeout { get; set; }
public:
property int Timeout {
    int get ();
    void set (int value);
}
member Timeout : int with get, set
function get Timeout () : int 
function set Timeout (value : int)

Property Value

Type: System.Int32
An Integer value that represents the length of time (in seconds) that the report server waits for a query to return results before abandoning the query.

Remarks

The value for the Timeout property has a corresponding TimeoutSpecified property that indicates whether this property should be omitted from the Web service call.

For more information about omitting properties, see Omitting Values for Optional Web Service Objects.

See Also

Reference

QueryDefinition Class

ReportService2010 Namespace