Remove method of the PS_BgpRoutingPolicyForPeer class

Removes a set of BGP routing policies from a set of BGP peers.

Syntax

uint32 Remove(
  [in] string  PeerName[],
  [in] string  PolicyName[],
  [in] uint32  Direction,
  [in] boolean Force,
  [in] string  RoutingDomain
);

Parameters

PeerName [in]

An array that contains the names of the peers.

PolicyName [in]

An array that contains the IDs of the routing policies to remove from the peers.

Direction [in]

The direction of the route advertisements for the routing policies.

Force [in]

Indicates whether to use a confirmation prompt with this procedure.

RoutingDomain [in]

The user defined alphanumeric ID of the routing domain.

Requirements

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

See also

PS_BgpRoutingPolicyForPeer