AdoPropertyAttributesEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoPropertyAttributesEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

All the values of the PropertyAttribute Enum:

The type of action to be performed when SetPermissions is called.

 

Prototype

 

FUNCTION AdoPropertyAttributesEnum (  )  AS ARRAY

Return

ARRAY        Every row in this array has 2 values:

       The numeric value of the Enum value

       A text representation of this value

 

This array can be used to validate values, and to print a meaningful description of the values during debugging You can pass this array to the AdoEnum2Str() function to convert the value of an Enum to a string

 

Description

 

List of possible values

adPropNotSupported 0        the property is not supported by the provider.
adPropRequired 1        the user must specify a value for this property before the data source is initialized.
adPropOptional 2        the user does not need to specify a value for this property before the data source is initialized.
adPropRead 512        the user can read the property.
adPropWrite 1024        the user can set the property        

 

See Also

Enums, AdoEnum2Str(), AdoStr2Enum()