Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.01 KB

vpnmanagementagent_addprofilefromxmlasync_1803908060.md

File metadata and controls

31 lines (21 loc) · 1.01 KB
-api-id -api-type
M:Windows.Networking.Vpn.VpnManagementAgent.AddProfileFromXmlAsync(System.String)
winrt method

Windows.Networking.Vpn.VpnManagementAgent.AddProfileFromXmlAsync

-description

Creates a new VPN connection based on a ProfileXML-encoded string (see ProfileXML XSD).

-parameters

-param xml

A VpnProfile object.

-returns

An enum value indicating the error status.

-remarks

You should use this method only with a version of Windows with build number 18362.267, or later. The Windows 10 May 2019 Update (version 1903) has build number 18362; then, an update on July 27 2019 revised that build number to 18362.267. In build numbers prior to 18362.267, this method returns an error code, but does not add a profile.

-examples

-see-also

-capabilities

networkingVpnProvider