HasClusteredIndex Property

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The HasClusteredIndex property returns TRUE when a clustered index is defined on the referenced table.

语法

object
.HasClusteredIndex

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetHasClusteredIndex(LPBOOL pRetVal);

备注

A Microsoft SQL Server clustered index orders table data using index values, structuring a table and building a sorted index for a table. For any given table, SQL Server supports, at most, a single clustered index.

Applies To:

Table Object

请参阅

其他资源

创建聚集索引

帮助和信息

获取 SQL Server 2005 帮助