EntityCommand.CommandTimeout 属性

定义

获取或设置超时前要等待的时间长度。Gets or sets the amount of time to wait before timing out.

public:
 virtual property int CommandTimeout { int get(); void set(int value); };
public override int CommandTimeout { get; set; }
member this.CommandTimeout : int with get, set
Public Overrides Property CommandTimeout As Integer

属性值

Int32

等待命令执行所需的时间(以秒为单位)。The time in seconds to wait for the command to execute.

适用于