M-Files API 22.6.11519.0
RestoreMasterDB Method
ServerManagementOperations Object : RestoreMasterDB Method
Full path of the backup file on the server.

Account information for accesing the backup files on the server.

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

Description
Restores the specified master database backup.
Syntax
Visual Basic
Public Sub RestoreMasterDB( _
   ByVal BackupFile As String, _
   Optional ByVal Impersonation As Impersonation = 0 _
) 
Parameters
BackupFile
Full path of the backup file on the server.
Impersonation

Account information for accesing the backup files on the server.

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

See Also

ServerManagementOperations Object  | ServerManagementOperations Members