Share via


VpnManagementAgent.GetProfilesAsync Method

Definition

Gets the accessible list of present VPN profiles.

public:
 virtual IAsyncOperation<IVectorView<IVpnProfile ^> ^> ^ GetProfilesAsync() = GetProfilesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<IVpnProfile>> GetProfilesAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<IVpnProfile>> GetProfilesAsync();
function getProfilesAsync()
Public Function GetProfilesAsync () As IAsyncOperation(Of IReadOnlyList(Of IVpnProfile))

Returns

A list of present VPN profiles.

Attributes

Windows requirements

App capabilities
networkingVpnProvider

Applies to