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.
Syntaxe
Perl
$prodinfo->GetObjectModelVersionMajor();
- Identificateur
- Description
- prodinfo
- A CQProductInfo object.
- Valeur renvoyée
- A Long containing the object model version (for example,
1).
Exemple
Perl
use CQPerlExt;
my $cqobject = CQClearQuest::Build();
my $prodinfo = $cqobject->CreateProductInfo();
print $prodinfo->GetObjectModelVersionMajor(),"\n";
CQClearQuest::Unbuild($cqobject);