Sdílet prostřednictvím


QueryDomain

Applies to: Lync 2013 | Lync Server 2013

QueryDomain

The QueryDomain function indicates whether a specified domain belongs to a specified domain type.

Syntax

bool QueryDomain(
  Domain domaintype,
  string domainname
);

Parameters

  • Domaintype
    Specifies whether to query the Internal Domain list or the Block list on the Access Edge Server.

  • Domainname
    Specifies the domain name to query for.

Return values

Returns true if the domain name specified by the domainname parameter belongs to the domain type specified by the domaintype parameter; otherwise, false.