次の方法で共有


PS_VpnS2SInterface class

Represents a site-to-site VPN interface.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("RAMgmtPSProvider"), AMENDMENT]
class PS_VpnS2SInterface
{
};

Members

The PS_VpnS2SInterface class has these types of members:

Methods

The PS_VpnS2SInterface class has these methods.

Method Description
AddByCustomPolicy This cmdlet is used to create a S2S interface with the specified parameters.
AddByEncryptionType This cmdlet is used to create a S2S interface with the specified parameters.
AddGreInterface Creates an S2S interface.
Windows Server 2012 R2 and Windows Server 2012: This method is not supported before Windows Server 2016.
Connect This cmdlet is used to connect a S2S interface that is currently not connected.
Disconnect This cmdlet is used to disconnect a S2S interface that is currently connected.
Get This cmdlet is used to retrieve details of a S2S interface.
Remove This cmdlet is used to remove a S2S interface.
SetByCustomPolicy This cmdlet is used to modify parameters a S2S interface. If the interface is already connected, the changes take effect after disconnection.
SetByEncryptionType This cmdlet is used to modify parameters a S2S interface. If the interface is already connected, the changes take effect after disconnection.
SetGreInterface Modifies a GRE interface.
Windows Server 2012 R2 and Windows Server 2012: This method is not supported before Windows Server 2016.

Requirements

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