Partager via


Méthode Index.Disable

Disables the index.

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

Syntaxe

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

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

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

CREATE INDEX (Transact-SQL)