RemoveDeactivated
Removes all deactivated users, PCs or items from a module. The items have either to be deactivated using the License Viewer or with DeactivateEntry.
Name |
RemoveDeactivated |
||||||||
Purpose |
Physically removes all deactivated users, PCs or items from a module. |
||||||||
Params |
|
||||||||
Returncode |
|
||||||||
Usage |
Deactivate users or items and finally remove them from the license file by calling RemoveDeactivated |
||||||||
Sample |
iRes := lic.RemoveDeactivated(‘D1001’); if iRes <> 0 then begin << an error occurred >> ... end else begin << everything is fine, continue >> ... |
||||||||
See also |
ExistsEntry, DeactivateEntry, ActivateEntry, GetEntriesOfModule, IsEntryActivated, RemoveAllItem |
You can remove all items independent of the fact if they are deactivated or not with the command RemoveAllItems