Mono Class Library: System.Data.SqlClient.SqlCommand Overview | Members

System.Data.SqlClient.SqlCommand.CommandTimeout Property

Gets or sets the amount of time the SqlConnection instance will attempt to execute before giving up.

public override int CommandTimeout { set; get; }

Value

Current value in seconds.

Remarks

When this value is exceeded without the command executing successfully, an exception is thrown.

Requirements

Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0