_Application.ODBCTimeout Property

Returns or sets the ODBC query time limit in seconds. The default value is 45 seconds.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ODBCTimeout As Integer
    Get
    Set
'Usage
Dim instance As _Application
Dim value As Integer

value = instance.ODBCTimeout

instance.ODBCTimeout = value
int ODBCTimeout { get; set; }

Property Value

Type: System.Int32

Remarks

The value 0 (zero) indicates an indefinite time limit.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace