Back to Devexpress

SqlWizardSettings.DbCommandTimeout Property

windowsforms-devexpress-dot-dataaccess-dot-ui-dot-wizard-dot-sqlwizardsettings-4093a598.md

latest2.5 KB
Original Source

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

csharp
public int? DbCommandTimeout { get; set; }
vb
Public Property DbCommandTimeout As Integer?

Property Value

TypeDescription
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:

LibraryObject TypePath to DbCommandTimeout
WinForms ControlsDataSourceWizardSettings

.SqlWizardSettings .DbCommandTimeout

| | Dashboard | DashboardDesignerDataSourceWizardSettings |

.SqlWizardSettings .DbCommandTimeout

| | .NET Reporting Tools | XRDesignMdiController |

.SqlWizardSettings .DbCommandTimeout

|

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

SqlWizardSettings Class

SqlWizardSettings Members

DevExpress.DataAccess.UI.Wizard Namespace