Microsoft SDK for Java

setCommandTimeout

This method of the Connection class assigns how long to wait for a command to execute.

Syntax

public void setCommandTimeout(int timeout);

Parameters

timeout An integer representing seconds.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.