HasIndex Property (SQL-DMO)

The HasIndex property returns True if at least one index, clustered or nonclustered, has been defined on the referenced Microsoft® SQL Server™ table.

Applies To

Table Object

Syntax

object.HasIndex

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

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetHasIndex(LPBOOL pRetVal);

  


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