QueryDomain

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.

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; else false.