Microsoft SDK for Java

getCursorType

The getCursorType and setCursorType methods of the Recordset class retrieve or specify the type of cursor that should be used when opening the Recordset object, respectively.

Syntax

public int getCursorType();
public void setCursorType(int cursorType);

Return Value

Sets or retrieves a AdoEnums.CursorType value. The default value is FORWARDONLY.

Parameters

cursorType One of the AdoEnums.CursorType values.

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