TurboDB ADO.NET Data Provider

TurboDBConnection.Exclusive

Previous  Top  Next

Defines whether other applications can open the same database.

C#

public bool Exclusive {set; get;}

Notes

You should set the property to true before you open the connection, if you want to access a data source exclusively. A database connection opened in exclusive mode will prevent other applications to access the same database. Besides, execution of commands will be faster. Exclusive access is necessary for databases on read-only directories e.g. for CD-based databases.

Compatibility

In TurboDB Managed this property has no effect, because the database is always opened exclusively.

See also

TurboDBConnection class | TurboDBConnection members