Partager via


Select method of the MSFT_NetRoute class

Selects the best local IP address and best route to reach the specified remote address.

Syntax

uint32 Select(
  [in]  uint32             InterfaceIndex,
  [in]  string             LocalIPAddress,
  [in]  string             RemoteIPAddress,
  [out] CIM_ManagedElement CmdletOutput[]
);

Parameters

InterfaceIndex [in]

TBD

LocalIPAddress [in]

TBD

RemoteIPAddress [in]

TBD

CmdletOutput [out]

TBD

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Client
MOF
VPNClientPSProvider.mof
DLL
VPNClientPSProvider.dll

See also

MSFT_NetRoute