Share via


Remove method of the PS_BgpPeer class

Removes a BGP peer from a BGP router.

Syntax

uint32 Remove(
  [in] string  Name[],
  [in] string  RoutingDomain,
  [in] boolean Force
);

Parameters

Name [in]

The BGP peer names that identify the peers to delete.

RoutingDomain [in]

The user-defined unique alphanumeric ID of the BGP routing domain.

Force [in]

Indicates whether to use a confirmation prompt to remove the peer. True to use a confirmation prompt; otherwise false.

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_BgpPeer