Remove method of the PS_BgpCustomRoute class

Removes network prefixes and network interfaces from a BGP routing table.

Syntax


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

Parameters

Network [in]

A list of Classless Inter-Domain Routing (CIDR) IP network prefixes and network masks to remove from the BGP routing table.

Interface [in]

A list of interface aliases that contain static routes to remove from BGP routing table.

Force [in]

Indicates whether to display a confirmation prompt before removing the custom BGP routes from the BGP routing table. True to remove the routes; otherwise false.

RoutingDomain [in]

The user-defined unique 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_BgpCustomRoute

 

 

Show: