Dela via


Column.Drop Method

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()

Implements

IDroppable.Drop()

Remarks

Note

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