Applies a slot usage requirement to this session by specifying a service to slot ratio. This service to slot ratio overrides the one defined for the SessionType in the application profile. Tasks from this session can only run on service instances that occupy the appropriate number of slots.

C# |
public ServiceToSlotRatio ServiceToSlotRatio { set; }

The number of service to slot ratio to apply to this session.

The ratio specified must be either 1:N or N:1, where N is a positive. For N:1, the maximum value of N is 10. integer. A 1:N ratio means that 1 service instance runs on multiple slots. An N:1 ratio means that multiple service instances run on 1 slot.