Freigeben über


Column.Drop-Methode

Drops the column.

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

Syntax

'Declaration
Public Sub Drop
'Usage
Dim instance As Column

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

Implementiert

IDroppable.Drop()

Hinweise

HinweisHinweis

Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.

Beispiele

Arbeiten mit Datenbankobjekten

Siehe auch

Verweis

Column Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

ALTER TABLE (Transact-SQL)