VpnManagementAgent.DeleteProfileAsync(IVpnProfile) Metodo

Definizione

Elimina un profilo VPN esistente.

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)

Parametri

profile
IVpnProfile

Oggetto VpnProfile.

Restituisce

Valore di enumerazione che indica lo stato dell'errore.

Attributi

Requisiti Windows

Funzionalità dell'app
networkingVpnProvider

Si applica a