次の方法で共有


Set method of the PS_RoutingProtocolPreference class

Updates the preference level of the specified routing protocol.

Syntax

uint32 Set(
  [in]  string             Name,
  [in]  uint32             Level,
  [in]  boolean            PassThru,
  [out] ProtocolPreference cmdletOutput
);

Parameters

Name [in]

The protocol name for the routing preference to update. You can set this parameter to one of the following values. The default value is static.

  • autostatic
  • local
  • netmgmt
  • nondod
  • BGP
  • rip
  • static

Level [in]

The preference level of the routing protocol.

PassThru [in]

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

cmdletOutput [out]

The ProtocolPreference object that receives the updated routing protocol preference.

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_RoutingProtocolPreference