Dela via


VpnManagementConnectionStatus Enum

Definition

Values used to report the current status of a VPN profile.

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
Inheritance
VpnManagementConnectionStatus
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
networkingVpnProvider

Fields

Name Value Description
Disconnected 0

The profile is disconnected.

Disconnecting 1

The profile is in the process of disconnecting.

Connected 2

The profile is connected.

Connecting 3

The profile is in the process of connecting.

Applies to