AwDao.CompactDatabase Method 

Compacts a database.

[Visual Basic]
Public Function CompactDatabase( _
   ByVal targetFileName As String _
) As Boolean
[C#]
public bool CompactDatabase(
   string targetFileName
);

Parameters

targetFileName
Filename.

Return Value

Returns true if successful; otherwise false.

Example

How to compact the database file C:\Data.mdb.

dao.CompactDatabase("C:\Data.mdb")
dao.CompactDatabase("C:\\Data.mdb");

See Also

AwDao Class | Asterworld.Data Namespace

Home | Software & Source Code Library | About Us | Information Based on Law | Terms of Service
Software List | Product Price List | How to Buy | Order Form | FAQ | Site Map
Copyright (C) 2001-2012 Asterworld. All Rights Reserved.