'Declaration
Public Enum VistaDBDatabaseOpenMode Inherits System.Enum
'Usage
Dim instance As VistaDBDatabaseOpenMode
public enum VistaDBDatabaseOpenMode : System.Enum
'Declaration
Public Enum VistaDBDatabaseOpenMode Inherits System.Enum
'Usage
Dim instance As VistaDBDatabaseOpenMode
public enum VistaDBDatabaseOpenMode : System.Enum
Member | Description |
---|---|
ExclusiveReadOnly | Database file opened exclusively for read-only operations. No other overlapping connection can be opened--even within the same process (see also SingleProcessReadOnly). |
ExclusiveReadWrite | Database file opened exclusively for read/write operations. No other overlapping connection may be opened--even within the same process (see also SingleProcessReadWrite). |
MultiProcessReadOnly | Database file opened in shared mode for read-only operations allowing overlap with MultiProcessReadWrite and MultiProcessReadOnly connections from other processes (or AppDomains) by using OS-level file-system locking (slower performance). This mode is basically like the NonexclusiveReadOnly mode of pre-6.0 versions. |
MultiProcessReadWrite | Database file opened in shared mode for read/write operations allowing overlap with MultiProcessReadWrite and MultiProcessReadOnly connections from other processes (or AppDomains) by using OS-level file-system locking (slower performance). This mode is basically like the NonexclusiveReadWrite mode of pre-6.0 versions. |
NonexclusiveReadOnly | Database file opened in shared mode for read-only operations. Other connections may write to the database using NonexclusiveReadWrite. (DEPRECATED. Use SingleProcessReadOnly, MultiProcessReadOnly, or SharedReadOnly instead. Specified use of NonexclusiveReadOnly will be treated as MultiProcessReadOnly.) |
NonexclusiveReadWrite | Database file opened in shared mode for read/write operations. This mode has performance implications due to the nature of shared file I/O. (DEPRECATED. Use SingleProcessReadWrite or MultiProcessReadWrite instead. Specified use of NonexclusiveReadWrite will be treated as MultiProcessReadWrite.) |
SharedReadOnly | Database file opened in shared mode for read-only operations by all clients. No overlapping connections with write-access can be opened. |
SingleProcessReadOnly | Database file opened in shared mode for read-only operations but restricted to sharing within a single process (and AppDomain). Locking will be performed internally for better performance. (On pre-6.0-formatted database files this mode will act as NonexclusiveReadOnly (multi-process) mode.) |
SingleProcessReadWrite | Database file opened in shared mode for read/write operations but restricted to sharing within a single process (and AppDomain). Locking will be performed internally for better performance. (On pre-6.0-formatted database files this mode will act as NonexclusiveReadWrite (multi-process) mode.) |
System.Object
System.ValueType
System.Enum
VistaDB.VistaDBDatabaseOpenMode
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2