This documentation is archived and is not being maintained.


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.

The DomainSupported function indicates whether a specified domain is supported by the registrar on the Office Communications Server server executing this script.


bool DomainSupported(
  string domain



String value that contains the name of a domain; for example, "". 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.