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.