Partager via


Méthode RebuildAllIndexes

Rebuilds all the indexes.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub RebuildAllIndexes
'Utilisation
Dim instance As Index

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

Notes

Notes

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