Microsoft SDK for Java

AdoEnums.ConnectMode Class Fields

The ConnectMode class contains the fields shown in the following table.

Constant Value Description
UNKNOWN 0 Default. Indicates that the permissions have not yet been set or cannot be determined.
READ 1 Indicates read-only permissions.
WRITE 2 Indicates write-only permissions.
READWRITE 3 Indicates read/write permissions.
SHAREDENYREAD 4 Prevents others from opening a connection with read permissions.
SHAREDENYWRITE 8 Prevents others from opening a connection with write permissions.
SHAREEXCLUSIVE 12 Prevents others from opening a connection.
SHAREDENYNONE 16 Allows others to open a connection with any permissions. Neither read nor write access can be denied to others.

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