Partager via


Méthode Index.Drop

Drops the index.

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

Syntaxe

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

instance.Drop()
public void Drop()
public:
virtual void Drop() sealed
abstract Drop : unit -> unit  
override Drop : unit -> unit
public final function Drop()

Implémente

IDroppable.Drop()

Notes

[!REMARQUE]

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

Exemples

Création, modification et suppression d'index

Voir aussi

Référence

Index Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Index

DROP INDEX (Transact-SQL)