DomainSupported

The DomainSupportedfunction indicates whether a specified domain is supported by the registrar on the Microsoft Lync Server 2013 computer executing this script.

Syntax

  Copy codeCopy code
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.