LumiSoft Mail Server User API
Add Method (enabled, name, assembly, type, initString)
Namespaces > LumiSoft.MailServer.API.UserAPI > VirtualServerCollection > Add(Boolean, String, String, String, String)
Adds new virtual server to virtual server collection.
Syntax

C# | Visual Basic | Managed C++

    public void Add (
    	bool enabled,
    	string name,
    	string assembly,
    	string type,
    	string initString
    )

    Public Sub Add ( _
    	enabled As Boolean, _
    	name As String, _
    	assembly As String, _
    	type As String, _
    	initString As String _
    )

    public:
    void Add (
    	bool enabled,
    	String^ name,
    	String^ assembly,
    	String^ type,
    	String^ initString
    )

Parameters

enabled (Boolean)
  Specified if virtual server is enabled.
name (String)
  Virtual server name.
assembly (String)
  Assembly name what contains virtual server API.
type (String)
  Full virtual server API type name.
initString (String)
  Virtual server API init string. This value depends on API implementation.

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)