Index.Script Method

Generates a Transact-SQL script that can be used to re-create the index.

Замечания

The following options do not appear in the script for the Index object:

PAD_INDEX

ALLOW_PAGE_LOCKS

ALLOW_ROW_LOCKS

ONLINE

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Список перегрузок

Имя Description
Index.Script ()
Generates a Transact-SQL script that can be used to re-create the index.
Index.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the index as specified by the script options.

См. также

Справочник

Index Class
Index Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Scripting
Индексы
ALTER INDEX (Transact-SQL)