Returns TRUE if the current revision of package that is applied to the schema isn't the highest package revision that is available for the package. Typically, package upgrade is needed when the current revision is no more the latest one. The API also returns more information to the caller in the form of current_rev and highest_rev which specify the current package revision and the highest available package revision that should be applied.
VBScript
session.IsPackageUpgradeNeeded package_name, current_rev, highest_rev
Perl
$session->IsPackageUpgradeNeeded(package_name, current_rev, highest_rev);