System.Data.OleDb.OleDbCommand.CommandTimeout Property

Gets or sets the wait time before terminating an attempt to execute a command and generating an error.

Syntax

public override int CommandTimeout { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A value of 0 indicates no limit, and should be avoided in a OleDbCommand.CommandTimeout because an attempt to execute a command will wait indefinitely.

Requirements

Namespace: System.Data.OleDb
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0