共用方式為


IVpnProfile 介面

定義

公開 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 設定檔中包含的每個應用程式) 。

適用於