Get the status of the tab versioning for an specific tab of the portal.

Namespace: DotNetNuke.Entities.Tabs.TabVersions
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
bool IsVersioningEnabled(
	int portalId,
	int tabId
)
Visual Basic
Function IsVersioningEnabled ( 
	portalId As Integer,
	tabId As Integer
) As Boolean

Parameters

portalId
Type: System..::..Int32
Portal Id
tabId
Type: System..::..Int32
Tab Id to be checked

Return Value

Returns true if tab versioning is enabled for the portal and for the tab, false otherwise

Remarks

If versioning is disabled at portal level, the versioning for tabs will be disabled too.

See Also