LumiSoft Mail Server User API
Add Method (description, pattern, enabled, action)
Namespaces > LumiSoft.MailServer.API.UserAPI > RouteCollection > Add(String, String, Boolean, RouteActionBase)
Creates and adds new route to route collection.
Syntax

C# | Visual Basic | Managed C++

    public Route Add (
    	string description,
    	string pattern,
    	bool enabled,
    	RouteActionBase action
    )

    Public Function Add ( _
    	description As String, _
    	pattern As String, _
    	enabled As Boolean, _
    	action As RouteActionBase _
    ) As Route

    public:
    Route^ Add (
    	String^ description,
    	String^ pattern,
    	bool enabled,
    	RouteActionBase^ action
    )

Parameters

description (String)
  Route description text.
pattern (String)
  Route pattern.
enabled (Boolean)
  Specifies if route is enabled.
action (RouteActionBase)
  Route action.

Return Value

[Missing <returns> documentation for M:LumiSoft.MailServer.API.UserAPI.RouteCollection.Add(System.String,System.String,System.Boolean,LumiSoft.MailServer.API.UserAPI.RouteActionBase)]

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)