共用方式為


ReorganizeAllIndexes 方法

Reorganizes all the indexes based on current property settings.

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

語法

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

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

備註

[!附註]

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