Compartir a través de


VpnManagementAgent.ConnectProfileAsync(IVpnProfile) Método

Definición

Se conecta a un perfil de VPN existente.

public:
 virtual IAsyncOperation<VpnManagementErrorStatus> ^ ConnectProfileAsync(IVpnProfile ^ profile) = ConnectProfileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VpnManagementErrorStatus> ConnectProfileAsync(IVpnProfile const& profile);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VpnManagementErrorStatus> ConnectProfileAsync(IVpnProfile profile);
function connectProfileAsync(profile)
Public Function ConnectProfileAsync (profile As IVpnProfile) As IAsyncOperation(Of VpnManagementErrorStatus)

Parámetros

profile
IVpnProfile

Objeto vpnProfile.

Devoluciones

Valor de enumeración que indica el estado del error.

Atributos

Requisitos de Windows

Características de aplicaciones
networkingVpnProvider

Se aplica a