Set method of the PS_RemoteAccessConfiguration class

Updates a remote access configuration.

Syntax

static uint32 Set(
  [in]  RemoteAccessConfiguration Configuration,
  [in]  boolean                   RestartServiceIfRequired,
  [in]  boolean                   PassThru,
  [out] RemoteAccessConfiguration cmdletOutput
);

Parameters

Configuration [in]

The remote access configuration to update.

RestartServiceIfRequired [in]

Indicates whether to restart the service after a service update.

PassThru [in]

Indicates whether the cmdletOutput parameter returns and object. True to return and object; otherwise false.

cmdletOutput [out]

The RemoteAccessConfiguration object that receives the updated remote access configuration information.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.Mof
DLL
RAMgmtPSProvider.dll

See also

PS_RemoteAccessConfiguration