Partager via


HasIndex Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The HasIndex property returns TRUE if at least one index, clustered or nonclustered, is defined on the referenced Microsoft SQL Server table.

Syntaxe

object.HasIndex

Parts

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

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetHasIndex(LPBOOL pRetVal);

Applies To: