ListIndexedColumns Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The ListIndexedColumns method returns a SQLObjectList object that enumerates the columns participating in a Microsoft SQL Server index.

Syntax

object.ListIndexedColumns()asSQLObjectList

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT ListIndexedColumns(
LPSQLDMOCOLUMNLIST* ppList);

Returns

A SQLObjectList object that contains 1 or more Column objects.

Remarks

Use ListIndexedColumns to retrieve a list of columns participating in an index.

Applies To: