VistaDB 5






Full database file name including path unless the database is in the local directory.
PackDatabase(String) Method
Perform a default pack operation
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
)
public procedure PackDatabase( 
    fileName: System.String
); static; 
public static function PackDatabase( 
   fileName : System.String
);
public: static void PackDatabase( 
   System.string* fileName
) 
public:
static void PackDatabase( 
   System.String^ fileName
) 

Parameters

fileName
Full database file name including path unless the database is in the local directory.
Remarks
You may be prompted on connection open to pack the database if the file format has changed.
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