QueryDomain
The QueryDomainfunction indicates whether a specified domain belongs to a specified domain type.
Syntax
Copy code | |
---|---|
bool QueryDomain( Domain domaintype, string domainname ); |
Parameters
Return values
Returns true if the domain name specified by the domainnameparameter belongs to the domain type specified by the domaintypeparameter; otherwise, false .