HasClusteredIndex Property (SQL-DMO)

The HasClusteredIndex property returns True when a clustered index has been defined on the referenced table.

Applies To

Table Object

Syntax

object.HasClusteredIndex

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

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.

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetHasClusteredIndex(LPBOOL pRetVal);

See Also

Using Clustered Indexes

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.