Share via


ListColumns Method

Diese Funktion wird in zukünftigen Versionen von Microsoft SQL Server nicht mehr bereitgestellt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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

Syntax

object.ListColumns()asSQLObjectList

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: