Share via


SPServiceLoadBalancer constructor (Uri)

Initializes a new instance of the SPServiceLoadBalancer class using a uniform resource identifier (URI).

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

Syntax

'Declaration
Protected Sub New ( _
    serviceUri As Uri _
)
'Usage
Dim serviceUri As Uri

Dim instance As New SPServiceLoadBalancer(serviceUri)
protected SPServiceLoadBalancer(
    Uri serviceUri
)

Parameters

Remarks

The format of the topology service URI is as follows:

urn:schemas-microsoft-com:sharepoint:service:<serviceId>#authority=urn:uuid:<topologyId>&authority=<topologyUri>

Example:

urn:schemas-microsoft-com:sharepoint:service:93982cc9173a461eb53b556ce3ecd5f0#authority=urn:uuid:d814414d6f5243bfb6ec5c7854a35617&authority=https://server1:8080/topology/topology.svc

The URI can also be an externally load balanced URI.

See also

Reference

SPServiceLoadBalancer class

SPServiceLoadBalancer members

SPServiceLoadBalancer overload

Microsoft.SharePoint namespace