Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.61. Method: setSystemChannels

Description

Change a system's subscribed channels to the list of channels passed.

Note

This method is deprecated. The system.setBaseChannel(string sessionKey, int serverId, string channelLabel) and system.setChildChannels(string sessionKey, int serverId, array[string channelLabel]) methods now replace it.
Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
  • array:
    • string - channelLabel - Labels of the channels to subscribe the system.
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.