Deletes a tab permanently from the database
Namespace: DotNetNuke.Entities.TabsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void DeleteTab( int tabId, int portalId ) |
Visual Basic |
---|
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
Remarks
The tab will not delete if it has child tab(s).