LumiSoft Mail Server User API
Restore Method (fileName, restoreFlags)
Namespaces > LumiSoft.MailServer.API.UserAPI > VirtualServer > Restore(String, RestoreFlags_enum)
Restores all virtual server settings from the specified file.
Syntax

C# | Visual Basic | Managed C++

    public void Restore (
    	string fileName,
    	RestoreFlags_enum restoreFlags
    )

    Public Sub Restore ( _
    	fileName As String, _
    	restoreFlags As RestoreFlags_enum _
    )

    public:
    void Restore (
    	String^ fileName,
    	RestoreFlags_enum restoreFlags
    )

Parameters

fileName (String)
  File what conatins backup.
restoreFlags (RestoreFlags_enum)
  Specifies restore options.

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)