RemoveFullTextCatalogs Method

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The RemoveFullTextCatalogs method drops all Microsoft Search full-text catalogs supporting full-text query on a Microsoft SQL Server database.

语法

object
.RemoveFullTextCatalogs(
)

Parts

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

Prototype (C/C++)

HRESULT RemoveFullTextCatalogs();

备注

The RemoveFullTextCatalogs method:

  • Locates all full-text catalogs defined for a database.
  • Stops population of all full-text catalogs.
  • Disables full-text indexing on any tables whose indexes are maintained in the full-text-catalogs.
  • Drops all full-text catalogs.

The method does not disable full-text indexing on the referenced database but removes all data used to configure full-text indexing and all full-text catalogs supporting the indexes.

ms133982.note(zh-cn,SQL.90).gif注意:
After using the RemoveFullTextCatalogs method, a database must be configured anew to restore full-text indexing on the database. Use the Rebuild method of the FullTextCatalog object to re-create full-text catalogs as currently configured.

Applies To:

Database Object

请参阅

参考

Rebuild Method

帮助和信息

获取 SQL Server 2005 帮助