IsClientCodePageCompatibleWithCQDataCodePage

Description

Returns whether or not user database updates are allowed. Prior to version 7.0, Rational ClearQuest prevented write updates to the database unless the local character set (also known as the client code page) was compatible with the Rational ClearQuest data code page. Beginning in version 7.0, updates to the database are allowed even if the local character set is incompatible (Rational ClearQuest only allows compatible characters to be stored in the database, and returns an exception if characters that are not in the Rational ClearQuest data code page are attempted to be stored in the database).
  • For version 7.0, the method always returns True. Updates to the database are always allowed. Rational ClearQuest will return an error if characters are not in the Rational ClearQuest data code page.
  • For version 2003.06.xx, the method returns True if the local character set is compatible with the Rational ClearQuest data code page. Updates to the database are allowed when the method returns True. If this method returns False, then the local character set is not compatible with the Rational ClearQuest data code page, and only read-only access to the database is allowed.
Remarque : This method became available in version 2003.06.00.
See Return string mode for more information.

Syntaxe

VBScript

 adminSession.IsClientCodePageCompatibleWithCQDataCodePage 

 

Perl

 $adminSession->IsClientCodePageCompatibleWithCQDataCodePage(); 

 
Identificateur
Description
adminSession
L'objet AdminSession représentant la session d'accès du référentiel de schéma en cours.
Return value
Returns True if the client code page is compatible with the Rational ClearQuest data code page, False otherwise.

Exemples

VBScript

 isComp = adminSession.IsClientCodePageCompatibleWithCQDataCodePage 

 

Perl

 $isComp = $adminSession->IsClientCodePageCompatibleWithCQDataCodePage(); 

 

Commentaires