DnsServerCollectionAutodetect Method (DnsAutodetectOptions) |
Clears and then populates the collection with
DnsServer objects by
looking up the specified sources.
Namespace: MailBee.DnsMXAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax public bool Autodetect(
DnsAutodetectOptions options
)
Public Function Autodetect (
options As DnsAutodetectOptions
) As Boolean
Parameters
- options
- Type: MailBee.DnsMXDnsAutodetectOptions
The sources to look DNS server definitons for.
Return Value
Type:
Booleantrue if at least one DNS server was found; otherwise,
false.
Remarks
Once at least one DNS server definition is found, these definitions are added to the collection
as
DnsServer objects, and the method returns.
Note |
---|
WMI database search requires Full trust for MailBee assembly. If the current security setting is
lower than Full trust, WMI database search won't find any DNS server definitions. |
See Also