RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDBSession.RemovePassword Method

Removes a specified password from the session.

Pascal
procedure RemovePassword(const APassword: string);
C++
__fastcall RemovePassword(const AnsiString APassword);

Use RemovePassword delete a specified password from the session. After a call to RemovePassword, any password-protected tables or databases that require the specified password can't be reopened until the password is supplied again by a call to the AddPassword method. 

APassword is the password to remove. It is a string that was previously supplied by the AddPassword method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!