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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference » ULTableSchema class

GetIndexName method Next Page

GetOptimalIndex method


The optimal index for searching a table using the specified column.

Syntax

Visual Basic

Public Function GetOptimalIndex( _
ByVal columnID As Integer _
) As ULIndexSchema

C#

public ULIndexSchema GetOptimalIndex(
int columnID
);

Parameters
Return value

A ULIndexSchema object representing the optimal index for the specified column.

Remarks

The specified column is the first column in the index, but the index may have more than one column.

Exceptions
See also