Schema.Drop Method ()

 

Removes the schema from the instance of SQL Server.

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

Syntax

public void Drop()
public:
virtual void Drop() sealed
abstract Drop : unit -> unit
override Drop : unit -> unit
Public Sub Drop

Implements

IDroppable.Drop()

Examples

Legacy Code Example

Creating, Altering, and Removing Schemas

See Also

Schema Class
Microsoft.SqlServer.Management.Smo Namespace
Understanding the Database Schemas
DROP SCHEMA (Transact-SQL)

Return to top