DisconnectByHostIP method of the PS_VpnUserLocal class

Disconnects the specified user.

Syntax

uint32 DisconnectByHostIP(
  [in]  string HostIPAddress[],
  [out] uint32 StatusCodes[]
);

Parameters

HostIPAddress [in]

Array of host IP Addresses to disconnect

StatusCodes [out]

Error codes returned by the internal RPC APIs

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\server
MOF
RAServerPSProvider.mof
DLL
RAServerPSProvider.dll

See also

PS_VpnUserLocal