IsFullTextKey Property
未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。
The IsFullTextKey property identifies the index used by Microsoft Search to support row identification.
語法
object
.IsFullTextKey
Parts
- object
An expression that evaluates to an object in the Applies To list
Data Type
Boolean
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetIsFullTextKey(LPBOOL pRetVal);
備註
If TRUE, the referenced index is used by Microsoft Search for row identification.
If FALSE, the referenced index is not used by Microsoft Search.
Microsoft Search requires that a single column identify rows participating in an index supporting full-text query. The column designated must contain unique, nonnull values and must participate in a PRIMARY KEY or UNIQUE key constraint. A table that contains a PRIMARY KEY constraint does not require a separate unique index for Microsoft Search configuration.
Use UniqueIndexForFullText to configure Microsoft Search full-text index key column use.