Previous Topic: void* GetCBUserData(void);

Next Topic: CaMovePackage


HINT32 Execute(void)

Executes the MoveItem process on the Package currently selected using the Package Chooser and the itemname specified by the class methods. The item path named by the set functions will contain new version for moved items of this package.

Owning Class

CaMoveItem

Arguments

None

Return Value

HINT32

-0 If success.

-1 If it is a server side error, detailed information can be found in the log file if the log file is defined at the HSDK calling function.

-2 If item is not valid.

-3 If multiple matched items.

-4 If package set is not correct.

Example

CaMoveItem& rMoveItem = rContext.GetMoveItem();
HINT32 iResult = rMoveItem.Execute();

More information: