CommandTimeout

This property specifies the number of seconds the command is allowed to execute before terminating the execution with an exception. Default value is 0 seconds, which results in no time limit.

Declaration

// C#
public static int CommandTimeout { get; set; }

Property Type

System.Int32.