Delete a module reference permanently from the database.
if there are no other references, the module instance is deleted as well
Namespace: DotNetNuke.Entities.ModulesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public void DeleteTabModule( int tabId, int moduleId, bool softDelete ) |
Visual Basic |
---|
Public Sub DeleteTabModule ( tabId As Integer, moduleId As Integer, softDelete As Boolean ) |
Parameters
- tabId
- Type: System..::..Int32
ID of the page
- moduleId
- Type: System..::..Int32
ID of the module instance
- softDelete
- Type: System..::..Boolean
A flag that determines whether the instance should be soft-deleted