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

C# | Visual Basic | Managed C++

    public void Restore (
    	Stream stream,
    	RestoreFlags_enum restoreFlags
    )

    Public Sub Restore ( _
    	stream As Stream, _
    	restoreFlags As RestoreFlags_enum _
    )

    public:
    void Restore (
    	Stream^ stream,
    	RestoreFlags_enum restoreFlags
    )

Parameters

stream (Stream)
  Stream what conatins backup.
restoreFlags (RestoreFlags_enum)
  Specifies restore options.

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)