Share via


Get method of the PS_IPFilter class

Retrieves the IP filters for the specified BGP router interface.

Syntax

uint32 Get(
  [in]  string            InterfaceAlias,
  [in]  uint32            Direction,
  [out] InterfaceIpFilter cmdletOutput[]
);

Parameters

InterfaceAlias [in]

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

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.

cmdletOutput [out]

The InterfaceIpFilter object that receives the retrieved IP filter.

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