VpnManagementAgent.DeleteProfileAsync(IVpnProfile) メソッド

定義

既存の VPN プロファイルを削除します。

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)

パラメーター

profile
IVpnProfile

VpnProfile オブジェクト。

戻り値

エラーの状態を示す列挙値。

属性

Windows の要件

アプリの機能
networkingVpnProvider

適用対象