次の方法で共有


Connect method of the PS_VpnS2SInterface class

Connects an S2S Interface that is currently not connected.

Syntax

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

Parameters

Name [in]

Specifies the name of the connection.

PassThru [in]

true to return a value in cmdletOutput; otherwise, false. 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