Share via


SqlCommandExtensions.ExecuteNonQueryWithRetry Method

Include Protected Members
Include Inherited Members

Overload List

  Name Description
Public methodStatic member ExecuteNonQueryWithRetry(SqlCommand)
Executes a Transact-SQL statement against the connection and returns the number of rows affected. Uses the default retry policy when executing the command.
Public methodStatic member ExecuteNonQueryWithRetry(SqlCommand, RetryPolicy)
Executes a Transact-SQL statement against the connection and returns the number of rows affected. Uses the specified retry policy when executing the command.
Public methodStatic member ExecuteNonQueryWithRetry(SqlCommand, RetryPolicy, RetryPolicy)
Executes a Transact-SQL statement against the connection and returns the number of rows affected. Uses the specified retry policies when executing the command and establishing a connection.

See Also

SqlCommandExtensions Class

SqlCommandExtensions Members

Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace