Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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] VpnS2SInterfaceStatistics 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]

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

 

 

Community Additions

Show:
© 2015 Microsoft