Поделиться через


FullTextIndexScript Method

В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется.

The FullTextIndexScript method returns a Transact-SQL command batch enabling Microsoft Search full-text indexing on a database or table.

Синтаксис

object
.FullTextIndexScript(
)
as String

Parts

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

Prototype (C/C++)

HRESULT FullTextIndexScript(SQLDMO_LPBSTR szScript);
ms143019.note(ru-ru,SQL.90).gifПримечание.
SQL Distributed Management Objects (SQL-DMO) strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.

Returns

A string that specifies a Transact-SQL command batch.

Замечания

SQL-DMO implements scripting methods that generate Transact-SQL command batches that specify component creation or alteration. In addition to scripts generated by the FullTextIndexScript method, Microsoft Search full-text index configuration scripting uses the GenerateSQL and Script methods defined on the FullTextCatalog object.

Applies To:

Database Object

Table Object