Previous Topic: CaWSwitchPackage

Next Topic: CaWSQL


Execute Method

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

Syntax

object.Execute(strSourcePackage, strTargetPackage)

Owning Class

CaWSwitchPackage

Arguments

strSourcePackage-The source package for the switch package process.

strTargetPackage-The target package for the switch package process.

Return Value

A long - Zero if success. Nonzero if failure.

Notes

None

Example

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

More information: