Soft Deletes the tab by setting the IsDeleted property to true.

Namespace: DotNetNuke.Entities.Tabs
Assembly: 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.

Return Value

returnsM:DotNetNuke.Entities.Tabs.TabController.SoftDeleteTab(System.Int32,DotNetNuke.Entities.Portals.PortalSettings)

Implements

ITabController..::..SoftDeleteTab(Int32, PortalSettings)

See Also