The BackupToDisk method accepts the following input
parameters.
Input Argument |
Required |
Description |
Name |
No |
The name of the database to backup. |
FilePath |
No |
The path to the file to hold the backup. |
Description |
No |
A description of the backup. |
Overwrite |
No |
Overwrite or append (1/0). |
ServerName |
No |
The name of the SQL Server. |
SQLUserName |
No |
The SQL user name for connecting to the database server. |
SQLUserPass |
No |
The password for connecting to the database server. |
SendCredentials |
No |
True/False: embed basic authentication credentials in the MPF
request. |
ErrorReturn |
No |
Out parameter containing the error (if any) thrown by MPF
during the processing of the request. |
The BackupToDisk method has the following return values.
Output Argument |
Description |
True |
If the method succeeds. |
False |
If the method fails to back up a database to a disk file. |