Share via


GetInterfaces method of the PS_RemoteAccessLocal class

This method gives the Internet and intranet interfaces.

Syntax

uint32 GetInterfaces(
  [in, out] uint32  DeploymentMode,
  [in]      string  ConnectTo,
  [in]      boolean isNlbDeployed,
  [out]     string  IntranetInterfaces[],
  [out]     string  InternetInterfaces[]
);

Parameters

DeploymentMode [in, out]

Indicates the mode in which the server is deployed:1 - indicates On Internet2 - indicates Behind NAT with Double NIC3 - indicates Behind NAT with Single NIC0 - indicates unknown

0 (0)

1 (1)

2 (2)

3 (3)

ConnectTo [in]

Address to which all clients will be connecting to

isNlbDeployed [in]

Indicates that NLB is deployed

IntranetInterfaces [out]

Array of intranet interfaces

InternetInterfaces [out]

Array of Internet interfaces

Requirements

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

See also

PS_RemoteAccessLocal