Compartir a través de


VpnManagementAgent.DeleteProfileAsync(IVpnProfile) Método

Definición

Elimina un perfil de VPN existente.

public:
 virtual IAsyncOperation<VpnManagementErrorStatus> ^ DeleteProfileAsync(IVpnProfile ^ profile) = DeleteProfileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VpnManagementErrorStatus> DeleteProfileAsync(IVpnProfile const& profile);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VpnManagementErrorStatus> DeleteProfileAsync(IVpnProfile profile);
function deleteProfileAsync(profile)
Public Function DeleteProfileAsync (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