LumiSoft Mail Server User API
Add Method (enabled, description, matchExpression, checkNext)
Namespaces > LumiSoft.MailServer.API.UserAPI > GlobalMessageRuleCollection > Add(Boolean, String, String, GlobalMessageRule_CheckNextRule_enum)
Adds new global message rule to virtual server.
Syntax

C# | Visual Basic | Managed C++

    public GlobalMessageRule Add (
    	bool enabled,
    	string description,
    	string matchExpression,
    	GlobalMessageRule_CheckNextRule_enum checkNext
    )

    Public Function Add ( _
    	enabled As Boolean, _
    	description As String, _
    	matchExpression As String, _
    	checkNext As GlobalMessageRule_CheckNextRule_enum _
    ) As GlobalMessageRule

    public:
    GlobalMessageRule^ Add (
    	bool enabled,
    	String^ description,
    	String^ matchExpression,
    	GlobalMessageRule_CheckNextRule_enum checkNext
    )

Parameters

enabled (Boolean)
  Specifies if global message rules is enabled.
description (String)
  Global message rule description.
matchExpression (String)
  Match expression.
checkNext (GlobalMessageRule_CheckNextRule_enum)
  Specifies when next rule is checked.

Return Value

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

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)