SaveDesktopModule saves the Desktop Module to the database

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

Syntax

C#
public static int SaveDesktopModule(
	DesktopModuleInfo desktopModule,
	bool saveChildren,
	bool clearCache
)
Visual Basic
Public Shared Function SaveDesktopModule ( 
	desktopModule As DesktopModuleInfo,
	saveChildren As Boolean,
	clearCache As Boolean
) As Integer

Parameters

desktopModule
Type: DotNetNuke.Entities.Modules..::..DesktopModuleInfo
The Desktop Module to save
saveChildren
Type: System..::..Boolean
A flag that determines whether the child objects are also saved
clearCache
Type: System..::..Boolean
A flag that determines whether to clear the host cache

Return Value

returnsM:DotNetNuke.Entities.Modules.DesktopModuleController.SaveDesktopModule(DotNetNuke.Entities.Modules.DesktopModuleInfo,System.Boolean,System.Boolean)

See Also