VpnDomainNameInfo.DomainName Property

Definition

Gets or sets the domain name. This could be an FQDN, or a DNS suffix.

public:
 property HostName ^ DomainName { HostName ^ get(); void set(HostName ^ value); };
HostName DomainName();

void DomainName(HostName value);
public HostName DomainName { get; set; }
var hostName = vpnDomainNameInfo.domainName;
vpnDomainNameInfo.domainName = hostName;
Public Property DomainName As HostName

Property Value

The domain name. This could be an FQDN, or a DNS suffix.

Windows requirements

App capabilities
networkingVpnProvider

Remarks

Domain name resolution generally works in two stages. First, if the host is a short name ("example"), then it is expanded into a fully-qualified domain name (FQDN) using a suffix style domain. Second, a search is performed for the FQDN based on the specified rules.

Applies to