共用方式為


RebuildAllIndexes 方法

Rebuilds all the indexes.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub RebuildAllIndexes
'用途
Dim instance As Index

instance.RebuildAllIndexes()
public void RebuildAllIndexes()
public:
void RebuildAllIndexes()
member RebuildAllIndexes : unit -> unit 
public function RebuildAllIndexes()

備註

[!附註]

Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.