ListColumns 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 ListColumns method returns a SQLObjectList object that enumerates the columns of a Microsoft SQL Server view.

Syntax

object
.ListColumns(
)
as
SQLObjectList

Parts

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

Prototype (C/C++)

HRESULT ListColumns(
LPSQLDMOCOLUMNLIST* ppList);

Returns

A SQLObjectList object that contains 1 or more Column objects.

Applies To:

View Object