VpnDomainNameInfo
VpnDomainNameInfo
VpnDomainNameInfo
VpnDomainNameInfo
Class
Definition
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.
public : sealed class VpnDomainNameInfo : IVpnDomainNameInfo, IVpnDomainNameInfo2public sealed class VpnDomainNameInfo : IVpnDomainNameInfo, IVpnDomainNameInfo2Public NotInheritable Class VpnDomainNameInfo Implements IVpnDomainNameInfo, IVpnDomainNameInfo2// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Constructors
VpnDomainNameInfo(String, VpnDomainNameType, IIterable, IIterable)
VpnDomainNameInfo(String, VpnDomainNameType, IIterable, IIterable)
VpnDomainNameInfo(String, VpnDomainNameType, IIterable, IIterable)
VpnDomainNameInfo(String, VpnDomainNameType, IIterable, IIterable)
Allows the VPN plug-in to construct this object to be added to a VpnDomainNameAssignment object.
public : VpnDomainNameInfo(PlatForm::String name, VpnDomainNameType nameType, IIterable<HostName> dnsServerList, IIterable<HostName> proxyServerList)public VpnDomainNameInfo(String name, VpnDomainNameType nameType, IEnumerable<HostName> dnsServerList, IEnumerable<HostName> proxyServerList)Public Sub New(name As String, nameType As VpnDomainNameType, dnsServerList As IEnumerable<HostName>, proxyServerList As IEnumerable<HostName>)// This API is not available in Javascript.
- name
- PlatForm::String String String String
The domain name. This could be an FQDN, or a DNS suffix.
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.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Properties
DnsServers DnsServers DnsServers DnsServers
Gets a list of DNS servers to perform DNS resolution against when resolving a name in the namespace.
public : IVector<HostName> DnsServers { get; }public IList<HostName> DnsServers { get; }Public ReadOnly Property DnsServers As IList<HostName>// This API is not available in Javascript.
- Value
- IVector<HostName> IList<HostName> IList<HostName> IList<HostName>
A list of DNS servers to perform DNS resolution against when resolving a name in the namespace.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
DomainName DomainName DomainName DomainName
Gets or sets the domain name. This could be an FQDN, or a DNS suffix.
public : HostName DomainName { get; set; }public HostName DomainName { get; set; }Public ReadWrite Property DomainName As HostName// This API is not available in Javascript.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
DomainNameType DomainNameType DomainNameType DomainNameType
Gets or sets whether the namespace in question is a FQDN, or a DNS suffix.
public : VpnDomainNameType DomainNameType { get; set; }public VpnDomainNameType DomainNameType { get; set; }Public ReadWrite Property DomainNameType As VpnDomainNameType// This API is not available in Javascript.
An enum value indicating whether the namespace in question is a FQDN, or a DNS suffix.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
WebProxyServers WebProxyServers WebProxyServers WebProxyServers
Gets a list of web proxy servers to be used when connecting to a resource in the specified namespace.
public : IVector<HostName> WebProxyServers { get; }public IList<HostName> WebProxyServers { get; }Public ReadOnly Property WebProxyServers As IList<HostName>// This API is not available in Javascript.
- Value
- IVector<HostName> IList<HostName> IList<HostName> IList<HostName>
A list of web proxy servers to be used when connecting to a resource in the specified namespace.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
WebProxyUris WebProxyUris WebProxyUris WebProxyUris
Gets a web proxy URI to be used when connecting to a resource in the specified namespace. This value differs from WebProxyServers in that the URI can be specify a custom port number, while the WebProxyServers value assumes port 80.
Note that even though the property name is plural, the returned list of URIs never has more than one element.
public : IVector<Uri> WebProxyUris { get; }public IList<Uri> WebProxyUris { get; }Public ReadOnly Property WebProxyUris As IList<Uri>// This API is not available in Javascript.
- Value
- IVector<Uri> IList<Uri> IList<Uri> IList<Uri>
A list of web proxy server URIs to be used when connecting to a resource in the specified namespace.
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
| Capabilities |
networkingVpnProvider
|
Remarks
To specify a custom port number, use URI syntax. For example, to use port 56789 at example.com, specify http://example.com:56789 to the URI constructor.