XmlQueryContext::setQueryTimeoutSeconds

#include <DbXml.hpp>

void XmlQueryContext::setQueryTimeoutSeconds(unsigned int seconds); 

The query timeout will cause a query using this XmlQueryContext to terminate if the query time exceeds the timeout value. The execution of the query will throw an XmlException with the ExceptionCode XmlException::OPERATION_TIMEOUT if the timeout occurs.

Parameters

seconds

The timeout, in seconds.

Class

XmlQueryContext

See Also

XmlQueryContext Methods