filecataloger.com > Script > Function -- DeleteCatalogItems

DeleteCatalogItems Function

Remarks:
Delete all the file catalog items in the list
Syntax:

DeleteCatalogItems(CatalogItemList)

Arguments:
Name Description
CatalogItemList The catalogue item list wanted to delete.
 
Return value:
Value Description
True Deleting is successfully.
Fail Deleting is failed.
example:

Dim DBPath
DBPath = "c:\sample.fdb"

CreateDB(DBPath)
OpenDB(DBPath)

Set ug = AddUsergroup("UserGroup1", CatalogDB.CatalogRoot)

ApplyAll

IsOK = DeleteCatalogItem(ug)
If IsOK Then MsgBox "The execution of DeleteCatalogItem Function is successful!"

ApplyAll

   
See Also:

DeleteCatalogItem Function

©2008 Greendgh Software. All rights reserved. Privacy statement