• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 35. Creating Enterprise Reportin... > Scheduling to a Server Group

Scheduling to a Server Group

There are several reasons why a Crystal Enterprise system might be broken up into server groups. Servers could be split up by geography, or by the database server they access. If this is the case, it's often a requirement when scheduling that the report job run on a server in a specific server group. This is programmatically set via the ISchedulingInfo interface. The setServerGroup method can be called to indicate which server group to use. It accepts an integer that is the ID of the server group. The ID can be obtained by an InfoStore query. In addition, the setServerGroupChoice enables the developer to specify an additional level of control. It accepts a member of the GroupChoice enumeration as described here:

  • GroupChoice.FIRST_AVAILABLE: Use the first available server, regardless of which server group it belongs to.

  • GroupChoice.PREFERRED: Use a server in the specified server group if possible, but otherwise fall back to the next available server.

  • GroupChoice.SPECIFIED: Use only servers in the specified server group.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint