Language

SqlCommand.ResetCommandTimeout Method

Definition

Resets the CommandTimeout property to its default value.

For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.

public:
 void ResetCommandTimeout();
public void ResetCommandTimeout();
member this.ResetCommandTimeout : unit -> unit
Public Sub ResetCommandTimeout ()

Remarks

The default value of the CommandTimeout is 30 seconds.

Applies to

See also