ValidateDatabase method

Performs low level and index validation on a database.

Syntax
Visual Basic
Public Sub ValidateDatabase( _
   ByVal start_parms As String, _
   ByVal how As ULDBValid _
)
C#
public void ValidateDatabase(
   string  start_parms,
   ULDBValid how
);
Parameters
  • start_parms   The parameters for identifying a database in the form of a semicolon-separated list of keyword-value pairs. For more information, see ULConnectionParms class.

  • how   How to validate the database. For more information, see ULDBValid enumeration.

Example

The following code validates indexes for the database \UltraLite\MyDatabase.udb under Windows Mobile

' Visual Basic
Dim openParms As ULConnectionParms = New ULConnectionParms
openParms.DatabaseOnCE = "\UltraLite\MyDatabase.udb"
ULConnection.DatabaseManager.ValidateDatabase( _
    openParms.ToString(), iAnywhere.Data.UltraLite.ULVF_INDEX )
// C#
ULConnectionParms openParms = new ULConnectionParms();
openParms.DatabaseOnCE = @"\UltraLite\MyDatabase.udb";
ULConnection.DatabaseManager.ValidateDatabase(
    openParms.ToString(), iAnywhere.Data.UltraLite.ULVF_INDEX );
See also