Share via


EnableFullTextCatalogs Method

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The EnableFullTextCatalogs method enables Microsoft Search full-text indexing on the referenced Microsoft SQL Server database.

구문

object
.EnableFullTextCatalogs( )

Parts

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

Prototype (C/C++)

HRESULT EnableFullTextCatalogs( );

Returns

None

주의

To enable full-text search on a SQL Server database for participation, enable the database using the EnableFullTextCatalogs method, then configure columns for full-text indexing and search using the FullTextCatalog object to define full-text catalogs.

A database is either enabled or disabled for full-text indexing and searching. When disabled, full-text index population is not performed for full-text catalogs defined on the database and full-text search in the database fails. A database may be disabled, and then reenabled without affecting full-text catalog definition.

Enabling a database for full-text indexing and search using the EnableFullTextCatalogs method does not alter full-text catalog contents. When enabling a database previously disabled, use the Rebuild method of the FullTextCatalog object to repopulate existing full-text catalogs.

Applies To:

Database Object