IVpnProfile 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
公开 VpnProfile 基对象。
public interface class IVpnProfile
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2020980561, 45271, 17371, 138, 147, 211, 254, 36, 121, 229, 106)]
struct IVpnProfile
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2020980561, 45271, 17371, 138, 147, 211, 254, 36, 121, 229, 106)]
public interface IVpnProfile
Public Interface IVpnProfile
- 派生
- 属性
Windows 要求
设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
应用功能 |
networkingVpnProvider
|
属性
AlwaysOn |
获取或设置 AlwayOn 属性。 如果为 true,则表示 VPN 配置文件始终已连接。 |
AppTriggers |
获取将触发要连接的 VPN 连接的应用的列表。 |
DomainNameInfoList |
获取 VPN 插件配置文件的名称解析策略表 (NRPT) 规则列表。 |
ProfileName |
获取或设置 VPN 配置文件的名称。 |
RememberCredentials |
获取或设置是否缓存 VPN 配置文件的凭据。 如果为 TRUE,则会在适用的情况下缓存 VPN 配置文件的凭据。 |
Routes |
获取在拆分隧道 VPN 的情况下必须通过 VPN 接口的路由列表。 |
TrafficFilters |
获取 VPN 配置文件中包含的流量筛选器(包括每个应用)的列表。 |