Get method of the PS_BgpRoute class

Retrieves the BGP route information for one or more network prefixes from the BGP routing table.

Syntax

uint32 Get(
  [in]  string       Network[],
  [in]  string       RoutingDomain,
  [in]  uint32       Type,
  [out] BgpRouteInfo cmdletOutput[]
);

Parameters

Network [in]

An array that contains the Classless Inter-Domain Routing (CIDR) IP network prefixes from which to retrieve BGP route information.

RoutingDomain [in]

The alphanumeric ID if the routing domain of the routing table.

Type [in]

The type of routes for which the information needs to be retrieved or listed.

Windows Server 2012 R2: This property is not supported before Windows Server 2016.

cmdletOutput [out]

The BgpRouteInfo object that receives the BGP route information.

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_BgpRoute