ADO Connection Object Mode Property
The available permissions for modifying data in a Connection.
Mode Property Return Values (ADO Connection Object)
Sets or returns one of the following ConnectModeEnum values:
Constant
|
Description
|
adModeUnknown
|
Default. The permissions have not been set or cannot be determined.
|
adModeRead
|
Read-only permission.
|
adModeWrite
|
Write-only permission.
|
adModeReadWrite
|
Read/write permission.
|
adModeShareDenyRead
|
Prevents others from opening a connection with read permission.
|
adModeShareDenyWrite
|
Prevents others from opening a connection with write permission.
|
adModeShareExclusive
|
Prevents others from opening a connection.
|
adModeShareDenyNone
|
Allows others to open a connection with any permissions. Neither read nor write access can be denied to others.
|
Mode Property Remarks (ADO Connection Object)
Use the Mode property to set or return the access permissions in use by the provider on the current connection. You can set the Mode property only when the Connection object is closed.
Mode Property Example (ADO Connection Object)
See the IsolationLevel property example.
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.