AdoConnectModeEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoConnectModeEnum() Function

Previous pageReturn to chapter overviewNext page



All the values of the ConnectMode Enum:

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




FUNCTION AdoConnectModeEnum (  )  


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




List of possible values

adModeUnknown 0        Default. the permissions have not yet been set or cannot be determined.
adModeRead 1        Indicates read-only permissions.
adModeWrite 2        Indicates write-only permissions.
adModeReadWrite 3        Indicates read/write permissions.
adModeShareDenyRead 4        Prevents others from opening a connection with read permissions.
adModeShareDenyWrite 8        Prevents others from opening a connection with write permissions.
adModeShareExclusive 12        Prevents others from opening a connection.
adModeShareDenyNone 16        Allows others to open a connection with any permissions.
adModeRecursive 32        Uses in conjunction with the other *ShareDeny* values.  


See Also

Enums, AdoEnum2Str(), AdoStr2Enum()