FullTextIndexScript Method (SQL-DMO)

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

Applies To
Database Object Table Object

Syntax

object.FullTextIndexScript( ) as String

Part Description
object Expression that evaluates to an object in the Applies To list

Returns

A string specifying a Transact-SQL command batch.

Remarks

SQL-DMO implements scripting methods that generate Transact-SQL command batches specifying 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.

Prototype (C/C++)

HRESULT FullTextIndexScript(SQLDMO_LPBSTR szScript);


Note 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.



(c) 1988-98 Microsoft Corporation. All Rights Reserved.