DnsServerCollectionAdd Method (String) |
Adds a top (0) priority DNS server under the specified IP address to the collection
and sorts the collection according to the elements priorities.
Namespace: MailBee.DnsMXAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public DnsServer Add(
string host
)
Public Function Add (
host As String
) As DnsServer
Parameters
- host
- Type: SystemString
IP address of the DNS server to be added to the collection.
The value cannot be a null reference (Nothing in Visual Basic).
Return Value
Type:
DnsServerA reference to
DnsServer object which was created
based on the given parameter values and then added to the collection.
Exceptions See Also