Remove method of the PS_VpnS2SInterface class

Removes an S2S interface.

Syntax

uint32 Remove(
  [in]  string          Name[],
  [in]  boolean         PassThru,
  [in]  boolean         Force,
  [out] VpnS2SInterface cmdletOutput[]
);

Parameters

Name [in]

Specifies the name of the interface.

PassThru [in]

true to return an object in the cmdletOutput parameter; otherwise, false. The default value is false.

Force [in]

true to not require a confirmation from the user; false to require a confirmation. The default value is false.

cmdletOutput [out]

A VpnS2SInterface that contains the cmdlet output.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll

See also

PS_VpnS2SInterface