DropView;
The DropView method removes views from database.
Sub Main;
Var
MB: IMetabase;
View: IView;
Begin
MB := MetabaseClass.Active;
View := MB.ItemById("New_View_1").Bind As IView;
View.DropView;
End Sub Main;
After executing the example, the view, referenced by repository view New_View_1, is removed from database on server.
See also: