Performs low level and index validation on a database.
Public Shared Sub ValidateDatabase( ByVal start_parms As String, ByVal how As ULDBValid )
public static void ValidateDatabase(string start_parms, ULDBValid how)
start_parms The parameters for identifying a database in the form of a semicolon-separated list of keyword-value pairs.
how Describes how to validate the database.
ULException class A SQL error occurred.
The following code validates indexes for the database \UltraLite\MyDatabase.udb under Windows Mobile:
' Visual Basic Dim openParms As ULConnectionParms = New ULConnectionParms openParms.DatabaseOnDevice = "\UltraLite\MyDatabase.udb" ULConnection.DatabaseManager.ValidateDatabase( _ openParms.ToString(), iAnywhere.Data.UltraLite.ULVF_INDEX )
The following code is the C# language equivalent:
// C# ULConnectionParms openParms = new ULConnectionParms(); openParms.DatabaseOnDevice = ".udb"; ULConnection.DatabaseManager.ValidateDatabase( openParms.ToString(), iAnywhere.Data.UltraLite.ULVF_INDEX );