共用方式為


VpnManagementConnectionStatus 列舉

定義

用來報告 VPN 設定檔目前狀態的值。

public enum class VpnManagementConnectionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VpnManagementConnectionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VpnManagementConnectionStatus
var value = Windows.Networking.Vpn.VpnManagementConnectionStatus.disconnected
Public Enum VpnManagementConnectionStatus
繼承
VpnManagementConnectionStatus
屬性

Windows 需求

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

欄位

Connected 2

設定檔已連線。

Connecting 3

設定檔正在進行連線。

Disconnected 0

設定檔已中斷連線。

Disconnecting 1

設定檔正在中斷連線。

適用於