Udostępnij za pośrednictwem


Metoda AlterAllIndexes

Dowolny Index obiekt zmiany właściwość wszystkich indeksów na wystąpienie z SQL Server dla operacji określony indeks.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Syntax

'Deklaracja
Public Sub AlterAllIndexes
'Użycie
Dim instance As Index

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

Uwagi

Ostrzeżenie

Indeksy oparte na UserDefinedTableType obiektu nie można modyfikować i uruchomiona ta metoda spowoduje wygenerowanie wyjątku.