Remove Method

SQLServer.Database.DBObject Object

Description

Drops the underlying SQL Server object and removes the SQL-DMO object from its parent collection.

Visual Basic

DBObject.Remove

C++

HRESULT pDBObject->Remove ( );