次の方法で共有


New method of the PS_VpnTrafficSelector class

Creates a new traffic selector.

Syntax

uint32 New(
  [in]  string             IPAddressRange[],
  [in]  uint32             PortRange[],
  [in]  uint32             ProtocolId,
  [in]  uint16             TsPayloadId,
  [in]  uint32             Type,
  [out] VpnTrafficSelector cmdletOutput
);

Parameters

IPAddressRange [in]

TBD

PortRange [in]

TBD

ProtocolId [in]

TBD

TsPayloadId [in]

Identifier tag for the VPNTrafficSelector.

Type [in]

Specifies whether the filter is IPv4 or IPv6 filter. {IPv4 | IPv6}.

cmdletOutput [out]

An embedded instance of the resulting VpnTrafficSelector instance.

Requirements

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

See also

PS_VpnTrafficSelector