次の方法で共有


Add method of the PS_BgpRoutingPolicyForPeer class

Assigns a set of BGP routing policies to a set of BGP peers.

Syntax

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

Parameters

PeerName [in]

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

PolicyName [in]

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

Direction [in]

The direction of the route advertisements for the routing policies.

RoutingDomain [in]

The user defined alphanumeric ID of the routing domain.

Force [in]

Indicates whether to use a confirmation prompt with this procedure.

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