Domains object

Description

The Domains object is a collection of all domains set up in the hMailServer installation.

Methods

Add()

Adds a new item to the collection

DeleteByDBID(long DBID)

Deletes the domain with the given database identifier.

Refresh()

Refreshes the collection.

Properties

long Count

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

Domain Item(long Index)

Returns a domain by its given index in the collection.
(read-only)

Domain ItemByDBID(long DBID)

ItemByDBID
(read-only)

Domain ItemByName(string ItemName)

Returns a domain by its name
(read-only)

string Names

Returns a list containing id name id name
(read-only)

Search documentation