ListColumns Method

SQL-DMO

SQL-DMO

ListColumns Method

The ListColumns method returns a SQLObjectList object that enumerates the columns of a Microsoft® SQL Server™ 2000 view.

Applies To
View Object
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.