VistaDB 6
VistaDB.Provider Namespace / VistaDBConnection Class / PackDatabase Method / PackDatabase() Method


In This Topic
    PackDatabase() Method
    In This Topic
    Pack the database for this open connection.
    Syntax
    'Declaration
     
    
    Public Overloads Sub PackDatabase() 
    'Usage
     
    
    Dim instance As VistaDBConnection
     
    instance.PackDatabase()
    public void PackDatabase()
    Remarks

    Pack database to recover unused space and re-balance the storage of tables and indexes.

    If not already, the connection will be converted to an ExclusiveReadWrite connection, if possible. If not possible then the operation will fail with an exception.

    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