Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoAccessor.CommandTimeout Property

Gets or sets the command timeout for IDbCommands that this AdoTemplate executes.

[Visual Basic]
Public Overridable Property CommandTimeout() As Integer
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public virtual int CommandTimeout { public get; public set; }

Property Value

The command timeout.

Remarks

Default is 0, indicating to use the database provider's default. Any timeout specified here will be overridden by the remaining transaction timeout when executing within a transaction that has a timeout specified at the transaction level.

See Also

AdoAccessor Class | Spring.Data.Core Namespace