Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.01 KB

File metadata and controls

45 lines (36 loc) · 2.01 KB
title CursorLocation Property (ADO) | Microsoft Docs
ms.prod sql
ms.prod_service connectivity
ms.technology connectivity
ms.custom
ms.date 01/19/2017
ms.reviewer
ms.topic conceptual
apitype COM
f1_keywords
Connection15::CursorLocation
Recordset15::CursorLocation
helpviewer_keywords
CursorLocation property [ADO]
ms.assetid 39c8d86e-7ee9-4182-be5e-aad5ce952f84
author MightyPen
ms.author genemi

CursorLocation Property (ADO)

Indicates the location of the cursor service.

Settings And Return Values

Sets or returns a Long value that can be set to one of the CursorLocationEnum values.

Remarks

This property allows you to choose between various cursor libraries accessible to the provider. Usually, you can choose between using a client-side cursor library or one that is located on the server.

This property setting affects connections established only after the property has been set. Changing the CursorLocation property has no effect on existing connections.

Cursors returned by the Execute method inherit this setting. Recordset objects will automatically inherit this setting from their associated connections.

This property is read/write on a Connection or a closed Recordset, and read-only on an open Recordset.

Note

Remote Data Service Usage When used on a client-side Recordset or Connection object, the CursorLocation property can only be set to adUseClient.

Applies To

Connection Object (ADO) Recordset Object (ADO)

See Also

Appendix A: Providers