Microsoft SDK for Java

getState

This method of the Connection class indicates whether the state of the object is open or closed or, for objects executing an asynchronous method, whether the current state of the object is connecting, executing, or fetching.

Syntax

public int getState();

Return Value

Returns an ObjectState value. The default is CLOSED.

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