Check to see if a domain is local. This will not load the domain collection which is not needed.
If IncludeAliases is true, strOHN must be supplied or false will be returned.
Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax
Parameters
- strHostName
- Type: SystemString
The host name to look for. - bIncludeAliases
- Type: SystemBoolean
Whether or not to search through domain aliases to find the given host name. Setting this to true will search for aliases as well as host names. - strOHN
- Type: SystemString
If the host name being searched for is found in an alias, strOHN will be set to the OHN of the domain that has that particular alias. Otherwise, the OHN will be set to String.Empty.
Return Value
Type: BooleanTrue if the given host name was found.
See Also