Deletes a tab permanently from the database
Namespace: DotNetNuke.Entities.TabsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public void DeleteTab( int tabId, int portalId ) |
| Visual Basic |
|---|
Public Sub DeleteTab ( tabId As Integer, portalId As Integer ) |
Parameters
- tabId
- Type: System..::..Int32
TabId of the tab to be deleted
- portalId
- Type: System..::..Int32
PortalId of the portal
Implements
ITabController..::..DeleteTab(Int32, Int32)
Remarks
The tab will not delete if it has child tab(s).