GetSessionFeatureLevel

Description

Gets the version number of the HCL Compass client currently running on this machine.

Syntax

VBScript


session.GetSessionFeatureLevel 

Perl


$session->GetSessionFeatureLevel(); 
Identifier
Description
session
The Session object that represents the current database-access session.
Return value
A Long containing the feature level.

The feature level is read-only.

Examples

VBScript


Set sessionObj = CreateObject("CLEARQUEST.SESSION")


sessionObj.UserLogon "admin", "", "SAMPL", AD_PRIVATE_SESSION, ""



Level = sessionObj.GetSessionFeatureLevel()

MsgBox (Level) 

Perl


use CQPerlExt;

#Start a HCL Compass session

$Session = CQSession::Build();



$Session->UserLogon("admin","","SAMPL","");



$level = $Session->GetSessionFeatureLevel();

print "Level:$level\n";

CQSession::Unbuild($Session);