The HasIndex property returns TRUE if at least one index, clustered or nonclustered, is defined on the referenced Microsoft® SQL Server™ table.
object.HasIndex
object
Expression that evaluates to an object in the Applies To list
Boolean
Read-only
HRESULT GetHasIndex(LPBOOL pRetVal);