Condividi tramite


Index.Script Method

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

Osservazioni

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

PAD_INDEX

ALLOW_PAGE_LOCKS

ALLOW_ROW_LOCKS

ONLINE

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Elenco degli overload

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

Vedere anche

Riferimento

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

Altre risorse

Scripting
Indici
ALTER INDEX (Transact-SQL)