次の方法で共有


Get method of the PS_VpnConnection class

Retrieves virtual private network (VPN) connection profiles.

Syntax

static uint32 Get(
  [in]  string          Name[],
  [in]  boolean         AllUserConnection,
  [out] VpnCommonConfig cmdletOutput[]
);

Parameters

Name [in]

The names of the VPN connection profiles to retrieve.

AllUserConnection [in]

True if the VPN connection profile is for all users; false if it is for a single user.

cmdletOutput [out]

When this method returns, contains the VpnConnection 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

PS_VpnConnection