Disable method of the PS_RemoteAccessRoutingDomain class

Disables site-to-site (S2S) VPN for the specified routing domain.

Syntax

uint32 Disable(
  [in]  string                     Name,
  [in]  boolean                    Force,
  [in]  boolean                    PassThru,
  [in]  uint32                     Type,
  [out] RoutingDomainConfiguration cmdletOutput
);

Parameters

Name [in]

The name of the routing domain.

Force [in]

Indicates whether this method uses the default confirmation prompt before performing the operation. True to use the default confirmation prompt, otherwise false. The default value for this parameter is True.

PassThru [in]

Indicates wether the cmdletOutput parameter returns an object. True to return an object; otherwise false.

Type [in]

The type of remote access component to disable.

cmdletOutput [out]

If PassThru is true, returns a RoutingDomainConfiguration object.

Requirements

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

See also

PS_RemoteAccessRoutingDomain