Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 2.19 KB

File metadata and controls

49 lines (40 loc) · 2.19 KB
title Supports Method | 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
Recordset15::raw_Supports
Recordset15::Supports
helpviewer_keywords
Supports method [ADO]
ms.assetid 298fc41c-0b55-42fc-b373-c5133b4da6a5
author MightyPen
ms.author genemi

Supports Method

Determines whether a specified Recordset object supports a particular type of functionality.

Syntax

  
boolean = recordset.Supports(CursorOptions )  

Return Value

Returns a Boolean value that indicates whether all of the features identified by the CursorOptions argument are supported by the provider.

Parameters

CursorOptions
A Long expression that consists of one or more CursorOptionEnum values.

Remarks

Use the Supports method to determine what types of functionality a Recordset object supports. If the Recordset object supports the features whose corresponding constants are in CursorOptions, the Supports method returns True. Otherwise, it returns False.

Note

Although the Supports method may return True for a given functionality, it does not guarantee that the provider can make the feature available under all circumstances. The Supports method simply returns whether the provider can support the specified functionality, assuming certain conditions are met. For example, the Supports method may indicate that a Recordset object supports updates even though the cursor is based on a multiple table join, some columns of which are not updatable.

Applies To

Recordset Object (ADO)

See Also

Supports Method Example (VB)
Supports Method Example (VC++)
CursorType Property (ADO)