DNSBlackLists object

Description

The DNSBlackLists object is a collection of all DNS black lists set up in the hMailServer installation.

Methods

Add()

Adds a new object to the collection.

DeleteByDBID(long DBID)

Deletes an object in the database by its given database identifier.

Refresh()

Refreshes the collection.

Properties

long Count

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

DNSBlackList Item(long Index)

Returns a DNS blacklist by its given index.
(read-only)

DNSBlackList ItemByDBID(long DBID)

Returns a DNS blacklist by its database identifier
(read-only)

DNSBlackList ItemByDNSHost(string sDNSHost)

Returns a DNS blacklist by its DNS host
(read-only)

Search documentation