次の方法で共有


Remove method of the PS_IPFilter class

Removes an IP filter from a BGP routing interface.

Syntax

uint32 Remove(
  [in]  string            InterfaceAlias,
  [in]  uint32            Direction,
  [in]  string            List[],
  [in]  boolean           PassThru,
  [in]  boolean           Force,
  [in]  uint32            AddressFamily,
  [out] InterfaceIpFilter cmdletOutput[]
);

Parameters

InterfaceAlias [in]

The alias of routing interface that contains the filters to remove.

Direction [in]

The direction of network traffic that the filter applies to. You can set this parameter to one of the following values.

Windows Server 2012: This parameter was changed from a sting data type in Windows Server 2012 R2.

0

Inbound traffic.

1

Outbound traffic.

List [in]

An array that contains the IP filters of the interface.

PassThru [in]

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

Force [in]

Indicates whether a confirmation prompt should be used for this operation. True to use a confirmation prompt; otherwise false.

AddressFamily [in]

Indicates whether the filter is an IPv4 filter or IPv6.

Windows Server 2012: This parameter replaced the IpVersion parameter in Windows Server 2012 R2.

0

Specifies IPv4.

1

Specifies IPv6.

cmdletOutput [out]

The InterfaceIpFilter object that receives the updated IP filter info.

Windows Server 2012: This parameter was changed to an array in Windows Server 2012 R2.

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_IPFilter