IVpnDomainNameInfoFactory IVpnDomainNameInfoFactory IVpnDomainNameInfoFactory IVpnDomainNameInfoFactory Interface

Definition

Factory to create VpnDomainNameInfo objects.

public : interface IVpnDomainNameInfoFactorypublic interface IVpnDomainNameInfoFactoryPublic Interface IVpnDomainNameInfoFactory// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Methods

CreateVpnDomainNameInfo(String, VpnDomainNameType, IIterable, IIterable) CreateVpnDomainNameInfo(String, VpnDomainNameType, IIterable, IIterable) CreateVpnDomainNameInfo(String, VpnDomainNameType, IIterable, IIterable) CreateVpnDomainNameInfo(String, VpnDomainNameType, IIterable, IIterable)

Creates a VpnDomainNameInfo object.

public : VpnDomainNameInfo CreateVpnDomainNameInfo(PlatForm::String name, VpnDomainNameType nameType, IIterable<HostName> dnsServerList, IIterable<HostName> proxyServerList)public VpnDomainNameInfo CreateVpnDomainNameInfo(String name, VpnDomainNameType nameType, IEnumerable<HostName> dnsServerList, IEnumerable<HostName> proxyServerList)Public Function CreateVpnDomainNameInfo(name As String, nameType As VpnDomainNameType, dnsServerList As IEnumerable<HostName>, proxyServerList As IEnumerable<HostName>) As VpnDomainNameInfo// You can use this method in JavaScript.
Parameters
name
PlatForm::String String String String

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

nameType
VpnDomainNameType VpnDomainNameType VpnDomainNameType VpnDomainNameType

An enum value indicating whether the namespace in question is a FQDN, or a DNS suffix.

dnsServerList
IIterable<HostName> IEnumerable<HostName> IEnumerable<HostName> IEnumerable<HostName>

A list of DNS servers to perform DNS resolution against when resolving a name in the namespace.

proxyServerList
IIterable<HostName> IEnumerable<HostName> IEnumerable<HostName> IEnumerable<HostName>

A list of web proxy servers to be used when connecting to a resource in the specified namespace.

Returns

Specifies the name policy for a specific namespace. It can specify the DNS servers to use for name resolution of the namespace, the web proxies to use when connecting to the namespace, or whether it should be exempted from the policy itself.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider