VpnManagementAgent.AddProfileFromObjectAsync(IVpnProfile) Methode

Definition

Erstellt ein neues VPN-Profil basierend auf dem VpnProfile-Eingabeobjekt .

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

Parameter

profile
IVpnProfile

Ein VpnProfile-Objekt .

Gibt zurück

Ein Enumerationswert, der den fehler status angibt.

Attribute

Windows-Anforderungen

App-Funktionen
networkingVpnProvider

Gilt für: