Adds new security enrty to collection.
| 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 )
- 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.
[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)