See Also
You are here: Interfacing > C++ Client Interface > scdriver Namespace > Classes > CConnection Class > CConnection Methods > SetTimeout Method
ContentsIndexHome
PreviousUpNext
CConnection::SetTimeout Method

Set query timeout value in seconds. If query being executed longer than timeout seconds, it will be cancelled. The timeout is only used for synchronuos queries. Asynchrounuos queries can be executed with ScimoreCommand::ExecuteAsynchronous method and cancelled using ScimoreCommand::Cancel. Default value is - 0xffffffff, i.e. the query never timeouts.

C++
public: void SetTimeout(
    const long Seconds
);
C#
public void SetTimeout(
    const long Seconds
);
Visual Basic
Public Function SetTimeout(
    Seconds As const long
) As void