Previous Topic: IsValid Method

Next Topic: CaWDeleteVersion


Execute Method

Executes the CrossProjectMerge process on the Package in the current context with the Packages in the Package Chooser.

Syntax

object.Execute()

Owning Class

CaWCrossProjectMerge

Arguments

None

Return Value

A long - Zero if success. Nonzero if failure.

Notes

Packages in Package Chooser must be from the Project and State specified by SetFromState().This is accomplished by setting the Project and State the CaWPackageChooser will search with CaWPackageChooser::ProjectObjId( iProject ) and CaWPackageChooser::SetStateObjId( iState ), and then CaWPackageChooser::Execute (false) to allow searching outside of context.

Example

Dim objCrossProjectMerge
Set objCrossProjectMerge = rContext.GetCrossProjectMerge();
lngResult = objCrossProjectMerge.Execute();

More information: