IsPackageUpgradeNeeded
Description
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.
Note: This method became
available in version 2002.05.00.
Syntax
VBScript
session.IsPackageUpgradeNeeded
package_name, current_rev, highest_rev
Perl
$session->IsPackageUpgradeNeeded
(package_name, current_rev,
highest_rev);
- Identifier
- Description
- session
- The Session object that represents the current database-access session.
- package_name
- A String containing the package name.
- current_rev
- A reference to the current package revision.
- highest_rev
- A reference to the latest available package revision.
- Return value
- Returns Boolean 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.