DomainSupported
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
DomainSupported
The DomainSupported function indicates whether a specified domain is supported by the registrar on the Office Communications Server server executing this script.
Syntax
bool DomainSupported(
string domain
);
Parameters
- domain
String value that contains the name of a domain; for example, "example.com". If this string is empty, this method will test for registrar availability.
Return Values
Returns true if the supplied domain is supported, or if an empty domain string is passed and there is a registrar available; false if it is not, or if there is no registrar available.