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.
- Return value
- A Long containing the object model version (for
example, 1).
Exemple
Perl
use CQPerlExt;
my $cqobject = CQSession::Build();
my $prodinfo = $cqobject->GetProductInfo();
print $prodinfo->GetObjectModelVersionMajor(),"\n";
CQSession::Unbuild($cqobject);