QueryDomain(Domain,string) function

 
Communications Server 2007 Server SDK Documentation

QueryDomain

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

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.

  
  What did you think of this topic?
  © 2007 Microsoft Corporation. All rights reserved.