GetObjectModelVersionMajor
Description
Returns a version number for the API itself. The major version number increases whenever an incompatible change is made in the API. The major number should be checked as part of an initial interaction with Rational® ClearQuest® to be certain that the API is compatible with what the caller expects.
Syntax
Perl
$prodinfo->GetObjectModelVersionMajor();
- Identifier
- Description
- prodinfo
- A CQProductInfo object.
- Return value
- A Long containing the object model version (for example, 1).
Example
Perl
use CQPerlExt;
my $cqobject = CQSession::Build();
my $prodinfo = $cqobject->GetProductInfo();
print $prodinfo->GetObjectModelVersionMajor(),"\n";
CQSession::Unbuild($cqobject);