Previous PageNext Page

9.3.11 Mode Property

The available permissions for modifying data in a Connection.
 

Return Values

Sets or returns one of the following ConnectModeEnum values:
 

Constant Description
adModeShareDenyRead
 
(Default) The permissions have not been set or cannot be determined.
 
adModeRead
 
Read-only permission.
 
adModeWrite
 
Write-only permission.
 
adModeReadWrite
 
Read/write permission.
 
adModeShareReadDeny
 
Prevents others from opening connection with read permission.
 
adModeShareDenyWrite
 
Prevents others from opening connection with write permission.
 
adModeShareExclusive
 
Prevents others from opening connection.
 
adModeShareDenyNone
 
Prevents others from opening connection with any permission.
 

Remarks

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.
 

Example

See the IsolationLevel property example.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page