Remove method of the PS_VpnConnectionTriggerApplication class

Removes auto-trigger applications from a VPN connection profile.

Syntax

uint32 Remove(
  [in]  string                          ConnectionName,
  [in]  string                          ApplicationID[],
  [in]  boolean                         PassThru,
  [in]  boolean                         Force,
  [out] VpnConnectionTriggerApplication cmdletOutput
);

Parameters

ConnectionName [in]

The name of the VPN connection profile to modify.

ApplicationID [in]

The identifiers of the applications to remove.

PassThru [in]

true to return the VpnConnectionTriggerApplication object that contains the trigger application settings; otherwise false.

Force [in]

True to force the removal of the applications from the VPN profile; otherwise, false.

cmdletOutput [out]

When this method returns, contains the VpnConnectionTriggerApplication object.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Client
MOF
VPNClientPSProvider.mof
DLL
VPNClientPSProvider.dll

See also

PS_VpnConnectionTriggerApplication