SQL-DMO
HasIndex Property
The HasIndex property returns TRUE if at least one index, clustered or nonclustered, is defined on the referenced Microsoft® SQL Server™ table.
Applies To
Table Object |
Syntax
object.HasIndex
Parts
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);