Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAdoOperation.CommandTimeout Property

Sets the command timeout for IDbCommands that this AdoTemplate executes.

[Visual Basic]
Public MustOverride WriteOnly Property CommandTimeout() As Integer
   Public Set
   End Set
End Property
public abstract int CommandTimeout { public set; }

Property Value

The command timeout.


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

AbstractAdoOperation Class | Spring.Data.Objects Namespace