RecreateView;
The RecreateView method recreates view on a DB server.
Sub Main;
Var
Mb: IMetabase;
View: IView;
Begin
Mb := MetaBaseClass.Active;
View := Mb.ItemById("VIEW_1").Bind As IView;
View.RecreateView;
End Sub Main;
After executing the example, the view named View_1 is recreated on database server.
See also: