共用方式為


ListAvailableUniqueIndexesForFullText Method

未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。

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

語法

object
.ListAvailableUniqueIndexesForFullText(
)
as
NameList

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT ListAvailableUniqueIndexesForFullText(
LPSQLDMONAMELIST* ppUniqueIndexNames);

Returns

A NameList object that enumerates Microsoft SQL Server indexes.

備註

To support a full-text index on a column, Microsoft Search requires a unique constraint defined on the table that contains 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.

Applies To:

Table Object