QueryDefinition.Timeout Property

Definition

获取或设置报表服务器等待查询返回结果的时间长度(单位秒),超过这段时间后,将放弃查询。Gets or sets the length of time (in seconds) that the report server waits for a query to return results before abandoning the query.

public:
 property int Timeout { int get(); void set(int value); };
public int Timeout { get; set; }
member this.Timeout : int with get, set
Public Property Timeout As Integer

Property Value

Int32

一个表示报表服务器等待查询返回结果的时间长度(单位秒)的Integer值,超过这段时间后,将放弃查询。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

属性的值 Timeout 具有一个对应 TimeoutSpecified 的属性,该属性指示是否应在 Web 服务调用中省略此属性。The value for the Timeout property has a corresponding TimeoutSpecified property that indicates whether this property should be omitted from the Web service call.

有关省略属性的详细信息,请参阅 省略可选 Web 服务对象的值For more information about omitting properties, see Omitting Values for Optional Web Service Objects.

Applies to