문제

When I run the query through VB6, I am getting error as "Time Out Expired"

For ADO Connection, I used addConn.CommandTimeout = 1000

For RDO Connection, How can i used CommandTimeout..?

도움이 되었습니까?

해결책

The equivalent in RDO is the QueryTimeout

It can be set (in seconds) as below:

rdoConnection.QueryTimeout = 60
rdoPreparedStatement.QueryTimeout = 60
rdoQuery.QueryTimeout = 60
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top