Performs low level and index validation on a database.
Visual Basic Public Sub ValidateDatabase( _ ByVal start_parms As String, _ ByVal how As ULDBValid _ )
C# public 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. For more information, see ULConnectionParms class.
how How to validate the database. For more information, see ULDBValid enumeration.
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 ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |