Compartilhar via


Método Index.Drop

Drops the index.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Drop
'Uso
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()

Implementa

IDroppable.Drop()

Comentários

ObservaçãoObservação

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

Exemplos

Criando, alterando e removendo índices

Consulte também

Referência

Index Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Índices

DROP INDEX (Transact-SQL)