DomainSupported

DomainSupported

The DomainSupported function indicates whether a specified domain is supported by the registrar on the Microsoft Lync Server 2010 computer 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.