Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
SQL Anywhere .NET 数据提供程序不支持此功能。
Public Overrides Property CommandTimeout As Integer
public override int CommandTimeout {get;set;}
要设置请求超时,请使用以下示例。
cmd.CommandText = "SET OPTION request_timeout = 30"; cmd.ExecuteNonQuery();