共用方式為


VpnNativeProfile.ConnectionStatus 屬性

定義

取得目前的連接狀態。

public:
 property VpnManagementConnectionStatus ConnectionStatus { VpnManagementConnectionStatus get(); };
VpnManagementConnectionStatus ConnectionStatus();
public VpnManagementConnectionStatus ConnectionStatus { get; }
var vpnManagementConnectionStatus = vpnNativeProfile.connectionStatus;
Public ReadOnly Property ConnectionStatus As VpnManagementConnectionStatus

屬性值

列舉值,提供目前的連接狀態。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)
應用程式功能
networkingVpnProvider

適用於