VistaDB 6
VistaDB.Provider Namespace / VistaDBConnectionStringBuilder Class / ProcessProtection Property


In This Topic
    ProcessProtection Property (VistaDBConnectionStringBuilder)
    In This Topic
    The ProcessProtection setting--enabled by default to protect against overlapping a SingleProcess- connection with another process using SingleProcess- or MultiProcess- which could allow data corruption. If disabled, application must be responsible for correct use of SingleProcess- or MultiProcess- modes to avoid possible data corruption. (Does not affect Exclusive- modes or SharedReadOnly mode. Safe to disable if opening a pre-6.0-formatted database in NonexclusiveReadOnly mode.)
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DisplayNameAttribute("Process Protection")>
    <System.ComponentModel.DescriptionAttribute("ProcessProtection setting on this connection to protect use of SingleProcess- vs. MultiProcess- modes against improper overlap which could allow data corruption.")>
    <System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
    Public Property ProcessProtection As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBConnectionStringBuilder
    Dim value As System.Boolean
     
    instance.ProcessProtection = value
     
    value = instance.ProcessProtection
    [System.ComponentModel.DisplayName("Process Protection")]
    [System.ComponentModel.Description("ProcessProtection setting on this connection to protect use of SingleProcess- vs. MultiProcess- modes against improper overlap which could allow data corruption.")]
    [System.ComponentModel.RefreshProperties(RefreshProperties.All)]
    public System.bool ProcessProtection {get; set;}
    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