SPUserCodeService.LoadBalancer property

Gets or sets the load balancer that assigns requests for sandboxed solutions to particular servers when the farm is running sandboxed solutions in affinity mode (sometimes called “remote mode”).

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPUserCodeLoadBalancerProvider LoadBalancer { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPUserCodeLoadBalancerProvider
The load balancer for balancing the sandboxed solutions requests among the servers.

Note that there is no load balancing if the farm is configured to run sandboxed solutions in local mode or if only one server is running the service in remote ('affinity') mode.