ValidateStringInCQDataCodePage

Description

Checks to see if characters in a given String are in the Rational ClearQuest data code page for the schema-repository of a Session. If the String is not in the code page, it returns an error message for display to the user. The error message includes which characters (up to the first five characters) were not in the Rational ClearQuest data code page. This function is similar to IsStringInCQDataCodePage but returns more information. IsStringInCQDataCodePage returns a True or False value, instead of an error message string.

Remarque : This method became available in version 2003.06.00.

Syntaxe

VBScript

adminSession.ValidateStringInCQDataCodePage stringToCheck 

Perl

$adminSession->ValidateStringInCQDataCodePage($stringToCheck); 
Identificateur
Description
adminSession
L'objet AdminSession représentant la session d'accès du référentiel de schéma en cours.
stringToCheck
A String that specifies what you are checking to see is in the ClearQuest data code page.
Valeur renvoyée
Returns an empty String if the stringToCheck is valid, otherwise, it returns a displayable error message

Exemples

VBScript

validation = adminSession.ValidateStringInCQDataCodePage stringToCheck 

Perl

$validation = $adminSession->ValidateStringInCQDataCodePage($stringToCheck); 

Feedback