This method returns the default tab workflow of the portal

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

Syntax

C#
int GetDefaultTabWorkflowId(
	int portalId
)
Visual Basic
Function GetDefaultTabWorkflowId ( 
	portalId As Integer
) As Integer

Parameters

portalId
Type: System..::..Int32
Portal Id

Return Value

The workflow Id of the portal default workflow

Remarks

If no default workflow is defined for a portal the method returns the Direct Publish system workflow

See Also