Creates a new version for a existing Tab

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

Syntax

C#
TabVersion CreateTabVersion(
	int tabId,
	int createdByUserId,
	bool isPublished = false
)
Visual Basic
Function CreateTabVersion ( 
	tabId As Integer,
	createdByUserId As Integer,
	Optional isPublished As Boolean = false
) As TabVersion

Parameters

tabId
Type: System..::..Int32
The Tab Id to be queried
createdByUserId
Type: System..::..Int32
User Id who creates the version
isPublished
Type: System..::..Boolean
If true, the version is automatically published

Return Value

TabVersion filled with the new version data

See Also