Aracılığıyla paylaş


Column.Drop Method

Drops the column.

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

Syntax

'Bildirim
Public Sub Drop
'Kullanım
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()

Implements

IDroppable.Drop()

Remarks

Not

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

Examples

Working with Database Objects

See Also

Reference

Column Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

ALTER TABLE (Transact-SQL)