AddAdminPages adds an Admin Page and an associated Module to all configured Portals

Namespace: DotNetNuke.Services.Upgrade
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void AddAdminPages(
	string tabName,
	string description,
	string tabIconFile,
	string tabIconFileLarge,
	bool isVisible,
	int moduleDefId,
	string moduleTitle,
	string moduleIconFile,
	bool inheritPermissions
)
Visual Basic
Public Shared Sub AddAdminPages ( 
	tabName As String,
	description As String,
	tabIconFile As String,
	tabIconFileLarge As String,
	isVisible As Boolean,
	moduleDefId As Integer,
	moduleTitle As String,
	moduleIconFile As String,
	inheritPermissions As Boolean
)

Parameters

tabName
Type: System..::..String
The Name to give this new Tab
description
Type: System..::..String
paramdescriptionM:DotNetNuke.Services.Upgrade.Upgrade.AddAdminPages(System.String,System.String,System.String,System.String,System.Boolean,System.Int32,System.String,System.String,System.Boolean)
tabIconFile
Type: System..::..String
The Icon for this new Tab
tabIconFileLarge
Type: System..::..String
paramtabIconFileLargeM:DotNetNuke.Services.Upgrade.Upgrade.AddAdminPages(System.String,System.String,System.String,System.String,System.Boolean,System.Int32,System.String,System.String,System.Boolean)
isVisible
Type: System..::..Boolean
A flag indicating whether the tab is visible
moduleDefId
Type: System..::..Int32
The Module Deinition Id for the module to be aded to this tab
moduleTitle
Type: System..::..String
The Module's title
moduleIconFile
Type: System..::..String
The Module's icon
inheritPermissions
Type: System..::..Boolean
Modules Inherit the Pages View Permisions

See Also