次の方法で共有


Reset method of the MSFT_NetRoute class

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

Syntax

uint32 Reset(
  [in]  uint23        InterfaceIndex,
  [in]  string        LocalIPAddress,
  [in]  string        RemoteIPAddress,
  [out] MSFT_NetRoute CmdletOutput
);

Parameters

InterfaceIndex [in]

The user-friendly interface index.

LocalIPAddress [in]

The local IP address of the route.

RemoteIPAddress [in]

The remote address of the route.

CmdletOutput [out]

On return, contains an instance of the current object.

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