Soft Deletes the tab by setting the IsDeleted property to true.
Namespace: DotNetNuke.Entities.TabsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public bool SoftDeleteTab( int tabId, PortalSettings portalSettings ) |
Visual Basic |
---|
Public Function SoftDeleteTab ( tabId As Integer, portalSettings As PortalSettings ) As Boolean |
Parameters
- tabId
- Type: System..::..Int32
The tab id.
- portalSettings
- Type: DotNetNuke.Entities.Portals..::..PortalSettings
The portal settings.