OracleCommand.CommandTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the wait time (in seconds) before terminating the attempt to execute a command and generating an error.
public:
virtual property int CommandTimeout { int get(); void set(int value); };
[System.ComponentModel.Browsable(false)]
public override int CommandTimeout { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.CommandTimeout : int with get, set
Public Overrides Property CommandTimeout As Integer
Property Value
The time (in seconds) to wait for the command to execute. The default value is 30 seconds.
- Attributes
Remarks
An ArgumentException is generated if the assigned CommandTimeout property value is less than 0.
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.