tabsdatabase_changepassword.htm
来自「Absolute Database 5.12 src. Absolute Da」· HTM 代码 · 共 72 行
HTM
72 行
<html>
<head>
<title></title>
</head>
<!--#include virtual="/inc/header.php"-->
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td align="left">
<span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>TABSDatabase.ChangePassword</b><span style="font-family:Helvetica,Arial; font-size:12pt; color:#0000FF"><b>
<br>
</b></span><span style="font-family:Helv; font-size:9pt; color:#000000"><span style="font-family:Helv; font-size:9pt; color:#7F0000"><a href=tabsdatabase.htm>TABSDatabase</a></span></span><span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>
<br>
</b></span></span>
</td>
<td align="right">
<font face="Arial" size="2">
<a href="overview.htm">Top</a>
</font>
</td>
</tr>
</table>
<br><br>
<span style="font-family:Helvetica,Arial; font-size:10pt; color:#000000">Changes encryption password of a database file.
<br>
<br>
<b>function</b> ChangePassword(NewPassword: <b>string</b> = '' ): <b>String; overload;</b>
<br>
<b>function</b> ChangePassword(NewPassword: <b>String</b>; NewCryptoAlgorithm: <a href=tabscryptoalgorithmtype.htm>TABSCryptoAlgorithm</a>): <b>String</b>; <b>overload</b>;
<br>
<br>
<b>Description</b>
<br>
Call to ChangePassword to make database file encrypted, or to decrypt it, or to change database password.
<br>
<br>
If the NewPassword parameter is not blank, then the database data will be encrypted using this password.
<br>
If the NewPassword is blank, the file will be decrypted.
<br>
<br>
NewCryptoAlgorithm specifies new algorithm used to encrypt database file.
<br>
<br>
Result is blank if change encryption process was successful and error log string otherwise.
<br>
<br>
<b>Note:</b>
<br>
Changing password could be a lengthy process if you are working with large database. Use BeforeChangePassword, OnChangePasswordProgress and AfterChangePassword event handlers to display the progress of changing database password process.
<br>
<br>
</span>
<!--#include virtual="/inc/footer.php"-->
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?