SecurityRanges object

Description

The security ranges object is a collection of all IP ranges set up in the hMailServer installation.

Methods

Add()

Adds a new security range to the collection.

Delete(long Index)

Deletes the security range with the specified index.

DeleteByDBID(long DBID)

Deletes the security range with the specified database identifier.

Refresh()

Refreshes the collection.

SetDefault()

Reverts IP range settings back to their default values.

Properties

long Count

The number of objects in the collection.
(read-only)

SecurityRange Item(long Index)

Returns a securityrange by a given index.
(read-only)

SecurityRange ItemByDBID(long DBID)

Returns a securityrange by a given database identifier.
(read-only)

SecurityRange ItemByName(string sName)

Returns a securityrange by a given name.
(read-only)

Search documentation