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

SQL Anywhere 11.0.1 (Français) » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULConnection class

 

ValidateDatabase method

Performs validation on the current database.

Syntax
Visual Basic
Public Sub ValidateDatabase( _
   ByVal how As ULDBValid, _
   ByVal tableName As String _
)
C#
public void ValidateDatabase(
   ULDBValid how,
   string  tableName
);
Parameters
  • 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.

Example

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