Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULConnection class


ValidateDatabase method

Performs validation on the current database.

Visual Basic

Public Sub ValidateDatabase( _
   ByVal how As ULDBValid, _
   ByVal tableName As String _

public void ValidateDatabase(
   ULDBValid how,
   string  tableName
  • how   How to validate the database. For more information, see ULDBValid enumeration.

  • tableName   If null (Nothing in Visual Basic), validate the entire database; otherwise, validate just the named table.


The following code validates the current database

' Visual Basic
conn.ValidateDatabase( iAnywhere.Data.UltraLite.ULVF_INDEX, Nothing )
// C#
conn.ValidateDatabase( iAnywhere.Data.UltraLite.ULVF_INDEX, null )
See also