DomainDataIsOHNOrHostAlias Method Ipswitch.Messaging.Framework
Check to see if the string passed into the method matches the OHN or a Host Alias for this domain.

Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax

public bool IsOHNOrHostAlias(
	string nameToTest
)

Parameters

nameToTest
Type: SystemString
The domain name (potential OHN or Host Alias) to test against this DomainData.

Return Value

Type: Boolean
True if the nameToTest either matches the OHN of this DomainData or matches one of the HostAliases for this DomainData.
See Also

Reference