summaryM:DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortal(System.Int32,System.Int32,System.Boolean,System.Boolean)

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

Syntax

C#
public static int AddDesktopModuleToPortal(
	int portalId,
	int desktopModuleId,
	bool addPermissions,
	bool clearCache
)
Visual Basic
Public Shared Function AddDesktopModuleToPortal ( 
	portalId As Integer,
	desktopModuleId As Integer,
	addPermissions As Boolean,
	clearCache As Boolean
) As Integer

Parameters

portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortal(System.Int32,System.Int32,System.Boolean,System.Boolean)
desktopModuleId
Type: System..::..Int32
paramdesktopModuleIdM:DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortal(System.Int32,System.Int32,System.Boolean,System.Boolean)
addPermissions
Type: System..::..Boolean
paramaddPermissionsM:DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortal(System.Int32,System.Int32,System.Boolean,System.Boolean)
clearCache
Type: System..::..Boolean
paramclearCacheM:DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortal(System.Int32,System.Int32,System.Boolean,System.Boolean)

Return Value

returnsM:DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortal(System.Int32,System.Int32,System.Boolean,System.Boolean)

See Also