Set a page as published or unpublished
Namespace: DotNetNuke.Entities.TabsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void SetTabPublishing( int tabID, int portalID, bool publish ) |
Visual Basic |
---|
Sub SetTabPublishing ( tabID As Integer, portalID As Integer, publish As Boolean ) |
Parameters
- tabID
- Type: System..::..Int32
The tab ID
- portalID
- Type: System..::..Int32
The portal ID where the tab is
- publish
- Type: System..::..Boolean
A boolean value where True means the page is going to be published and otherwise unpublished