int tabID = 1234; TabController.Instance.DeleteTab(tabID);
string tabName = "MyTab"; TabController.Instance.DeleteTab(tabName, PortalID);This example shows how to delete a tab with a specific tab name. In this case, tabName is set to 'MyTab', and then the TabController.Instance.DeleteTab method is called to delete the tab from the database. Additionally, the PortalID parameter is passed to identify the portal from which to delete the tab. PACKAGE LIBRARY: DotNetNuke.Entities.Tabs is part of the DotNetNuke Core Library, which is a package of libraries and tools for the DNN platform.