SqlWizardSettings.DbCommandTimeout Property
Gets or sets the wait time (in seconds) before terminating the attempt to execute a query and generating an error.
Namespace: DevExpress.DataAccess.UI.Wizard
Assembly: DevExpress.DataAccess.v25.2.dll
NuGet Package: DevExpress.DataAccess
Declaration
Property Value
| Type | Description |
|---|---|
| Nullable<Int32> | A nullable integer value that specifies the time in seconds to wait for the query to execute. |
Property Paths
You can access this nested property as listed below:
| Library | Object Type | Path to DbCommandTimeout |
|---|---|---|
| WinForms Controls | DataSourceWizardSettings |
|
| Dashboard | DashboardDesignerDataSourceWizardSettings |
|
| .NET Reporting Tools | XRDesignMdiController |
|
Remarks
Set DbCommandTimeout to null (Nothing in Visual Basic) to use the provider’s default setting. To set an unlimited timeout, assign the 0 value.
When a query timeout expires, query execution stops and an exception is thrown.
See Also