windowsforms-devexpress-dot-dataaccess-dot-ui-dot-wizard-dot-sqlwizardsettings-4093a598.md
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
public int? DbCommandTimeout { get; set; }
Public Property DbCommandTimeout As Integer?
| Type | Description |
|---|---|
| Nullable<Int32> |
A nullable integer value that specifies the time in seconds to wait for the query to execute.
|
You can access this nested property as listed below:
| Library | Object Type | Path to DbCommandTimeout |
|---|---|---|
| WinForms Controls | DataSourceWizardSettings |
.SqlWizardSettings .DbCommandTimeout
| | Dashboard | DashboardDesignerDataSourceWizardSettings |
.SqlWizardSettings .DbCommandTimeout
| | .NET Reporting Tools | XRDesignMdiController |
.SqlWizardSettings .DbCommandTimeout
|
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