ListIndexedColumns Method
未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。
The ListIndexedColumns method returns a SQLObjectList object that enumerates the columns participating in a Microsoft SQL Server index.
語法
object
.ListIndexedColumns(
)
as
SQLObjectList
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.
備註
Use ListIndexedColumns to retrieve a list of columns participating in an index.