Previous Topic: CaSwitchPackage

Next Topic: HINT32 Execute(HAROBJID SourcePackage, HAROBJID TargetPackage)


HINT32 Execute(LPCTSTR SourcePackage, LPCTSTR 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 for the switch package process

TargetPackage-the target package for the switch package process

Return Value

HINT32-zero if success, non-zero if failure

Example

CaSwitchPackage& rSwitchPackage = rContext.GetSwitchPackage();
CaString szName = rSwitchPackage. GetPackageName(true);

More information: