Share via


Set method of the PS_BgpRoutingPolicyForPeer class

Updates an existing set of BGP routing policy assignments for a set of BGP peers.

Syntax

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

Parameters

PolicyName [in]

An array that contains the IDs of the routing policies in the list.

PeerName [in]

An array that contains the names of the peers to assign to the routing policies.

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