ListAvailableUniqueIndexesForFullText Method (SQL-DMO)

The ListAvailableUniqueIndexesForFullText method returns a NameList object enumerating those indexes defined on a table that are capable of supporting Microsoft Search full-text indexing.

Applies To

Table Object

Syntax

object.ListAvailableUniqueIndexesForFullText( ) as NameList

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

Returns

A NameList object enumerating Microsoft® SQL Server™ indexes.

Remarks

To support a full-text index on a column, Microsoft Search requires a unique constraint defined on the table containing the column. The constraint must be either UNIQUE or PRIMARY KEY, but must be defined on a single column.

The ListAvailableUniqueIndexesForFullText method identifies indexes supporting constraints that can provide a unique value for Microsoft Search indexing.

Prototype (C/C++)

HRESULT ListAvailableUniqueIndexesForFullText(
LPSQLDMONAMELIST* ppUniqueIndexNames);

  


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