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 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 = CQClearQuest::Build();
my $prodinfo = $cqobject->CreateProductInfo();
print $prodinfo->GetObjectModelVersionMajor(),"\n";
CQClearQuest::Unbuild($cqobject);