VistaDB 6
VistaDB Namespace / VistaDBDatabaseOpenMode Enumeration


In This Topic
    VistaDBDatabaseOpenMode Enumeration
    In This Topic
    The database open mode
    Syntax
    'Declaration
     
    
    Public Enum VistaDBDatabaseOpenMode 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As VistaDBDatabaseOpenMode
    public enum VistaDBDatabaseOpenMode : System.Enum 
    Members
    MemberDescription
    ExclusiveReadOnlyDatabase file opened exclusively for read-only operations. No other overlapping connection can be opened--even within the same process (see also SingleProcessReadOnly).
    ExclusiveReadWriteDatabase file opened exclusively for read/write operations. No other overlapping connection may be opened--even within the same process (see also SingleProcessReadWrite).
    MultiProcessReadOnlyDatabase 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.
    MultiProcessReadWriteDatabase 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.
    NonexclusiveReadOnlyDatabase 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.)
    NonexclusiveReadWriteDatabase 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.)
    SharedReadOnlyDatabase file opened in shared mode for read-only operations by all clients. No overlapping connections with write-access can be opened.
    SingleProcessReadOnlyDatabase 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.)
    SingleProcessReadWriteDatabase 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.)
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             VistaDB.VistaDBDatabaseOpenMode

    Requirements

    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

    See Also