Previous Topic: GetPackageList Method

Next Topic: IsValid Method


Execute Method

Executes the PackageChooser based on the set of package selection criteria set in the package chooser attributes.

Syntax

object.Execute(blnUseCurrentContext)

Owning Class

CaWPackageChooser

Arguments

blnUseCurrentContext - A boolean, if True restrict package search to current context, if False use Project Id and State Id if set.

Return Value

A long - Positive if success, Zero if failure.

Example

Dim objPackageChooser
Dim objPackageList
objPackageChooser = objContext.GetPackageChooser()
lngRet = objPackageChooser.Execute(True)

More information: