GetIndexName method

Returns the name of the index identified by the specified index ID.

Syntax
Visual Basic

Public Function GetIndexName( _
   ByVal indexID As Integer _
) As String
C#

public string  GetIndexName(
   int indexID
);
Parameters
  • indexID   The ID of the index. The value must be in the range [1,IndexCount].

Return value

The name of the index as a string.

Remarks

Index IDs and counts may change during a schema upgrade. To correctly identify an index, access it by name or refresh the cached IDs and counts after a schema upgrade.

See also