Share via


Enable method of the PS_RemoteAccessRoutingDomain class

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

Syntax

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

Parameters

Name [in]

The name of the routing domain.

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 enable.

cmdletOutput [out]

The RoutingDomainConfiguration object that receives the updated routing domain configuration.

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