QueryDefinition.Timeout 屬性

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

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Property Timeout As Integer 
    Get 
    Set
'用途
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)

屬性值

型別: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.

備註

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 省略選擇性 Web 服務物件的值.

請參閱

參考

QueryDefinition 類別

ReportService2006 命名空間