共用方式為


Script 方法

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

多載清單 

  名稱 描述
公用方法 Script() () () () Generates a Transact-SQL script that can be used to re-create the index.
公用方法 Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create the index as specified by the script options.

頂端

備註

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

PAD_INDEX

ALLOW_PAGE_LOCKS

ALLOW_ROW_LOCKS

ONLINE