VistaDB 6
VistaDB.Provider Namespace / VistaDBConnection Class / PackDatabase Method / PackDatabase(String) Method
File name of the database to pack.


In This Topic
    PackDatabase(String) Method
    In This Topic
    Pack a specified (unencrypted) database.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub PackDatabase( _
       ByVal fileName As System.String _
    ) 
    'Usage
     
    
    Dim fileName As System.String
     
    VistaDBConnection.PackDatabase(fileName)
    public static void PackDatabase( 
       System.string fileName
    )

    Parameters

    fileName
    File name of the database to pack.
    Remarks
    Pack database to recover unused space and re-balance the storage of tables and indexes.
    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