Freigeben über


FullTextCatalogs Collection

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

The FullTextCatalogs collection contains FullTextCatalog objects that reference Microsoft Search persistent data organized in full-text catalogs.

SQL-DMO-Objektmodell, das das aktuelle Objekt anzeigt

Properties

Count Property

Methods

Add Method

Refresh Method

Item Method

Remove Method (Collections)

Hinweise

With the FullTextCatalogs collection, you can:

  • Create a new Microsoft Search full-text indexing catalog.
  • Remove a Microsoft Search full-text indexing catalog.

To remove a Microsoft Search full-text indexing catalog

  1. Use the Remove method of the FullTextCatalogs collection.

    ms143024.note(de-de,SQL.90).gifHinweis:
    Removing a Microsoft Search full-text indexing catalog removes all data maintaining catalog definition and is not recoverable. The Stop method of the FullTextCatalog object inactivates a Microsoft Search full-text indexing catalog and does not affect index defining data.

When using the Item or Remove method, the FullTextCatalogs collection supports member identification using either name or ordinal reference syntax. For example:

Set oFullTextCatalog = oDatabase.FullTextCatalogs("People")

Or

Set oFullTextCatalog = oDatabase.FullTextCatalogs(2)
ms143024.note(de-de,SQL.90).gifHinweis:
Using the FullTextCatalogs collection to create or remove Microsoft Search full-text indexing catalogs requires appropriate privilege. The Microsoft SQL Server login used for SQLServer object connection must be a member of the fixed role db_ddladmin or a role with greater privilege.