Share via


Disconnect method of the PS_VpnS2SInterface class

This cmdlet is used to disconnect a S2S Interface that is currently connected.

Syntax

uint32 Disconnect(
  [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