LumiSoft Mail Server User API
Add Method (enabled, description, service, action, startIP, endIP)
Namespaces > LumiSoft.MailServer.API.UserAPI > IPSecurityCollection > Add(Boolean, String, Service_enum, IPSecurityAction_enum, IPAddress, IPAddress)
Adds new security enrty to collection.
Syntax

C# | Visual Basic | Managed C++

    public IPSecurity Add (
    	bool enabled,
    	string description,
    	Service_enum service,
    	IPSecurityAction_enum action,
    	IPAddress startIP,
    	IPAddress endIP
    )

    Public Function Add ( _
    	enabled As Boolean, _
    	description As String, _
    	service As Service_enum, _
    	action As IPSecurityAction_enum, _
    	startIP As IPAddress, _
    	endIP As IPAddress _
    ) As IPSecurity

    public:
    IPSecurity^ Add (
    	bool enabled,
    	String^ description,
    	Service_enum service,
    	IPSecurityAction_enum action,
    	IPAddress^ startIP,
    	IPAddress^ endIP
    )

Parameters

enabled (Boolean)
  Specifies if security entry is enabled.
description (String)
  Security entry description text.
service (Service_enum)
  Specifies service for what security entry applies.
action (IPSecurityAction_enum)
  Specifies what action done if IP matches to security entry range.
startIP (IPAddress)
  Range start IP.
endIP (IPAddress)
  Range end IP.

Return Value

[Missing <returns> documentation for M:LumiSoft.MailServer.API.UserAPI.IPSecurityCollection.Add(System.Boolean,System.String,LumiSoft.MailServer.API.UserAPI.Service_enum,LumiSoft.MailServer.API.UserAPI.IPSecurityAction_enum,System.Net.IPAddress,System.Net.IPAddress)]

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)