Previous Topic: HINT32 Execute(LPCTSTR SourcePackage, LPCTSTR TargetPackage)

Next Topic: CaTakeSnapshot


HINT32 Execute(HAROBJID SourcePackage, HAROBJID TargetPackage)

Executes the SwitchPackage process. To select a subset of the versions from the source package, use the version chooser.

Owning Class

CaSwitchPackage

Arguments

SourcePackage-the source package ID for the switch package process

TargetPackage-the target package ID for the switch package process

Return Value

HINT32-zero if success, non-zero if failure

Example

CaHarvest Harvest; CaContext& rContext = Harvest.GetContext();
HAROBJID iObjId = rContext.GetPackageId();

More information: