Location: Symbol Reference > Classes > TJwSecureRegistryKey Class > TJwSecureRegistryKey Methods > TJwSecureRegistryKey.CheckKeyNameValidity Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureRegistryKey.CheckKeyNameValidity Method
Pascal
class procedure CheckKeyNameValidity(const KeyName: TJwString); virtual;
Parameters 
Description 
const KeyName: TJwString 
defines the keyname to be checked. 

CheckKeyNameValidity checks if a given KeyName is a correct key path. The keyname is correct if it has the following structure: "\serverrootsubkey" (UNC) 

or 

"rootsubkey" (standard) 

 

If the keyname is incorrect an exception is raised.

Exceptions 
Description 
is raised if the KeyName is empty. 
is raised if the root key is not present. The root name can be a string from the RootName member of JwKeyRootTupleArray 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!