Compartilhar via


SPServiceLoadBalancer.EndpointAddresses Property

Enumeration of the endpoint addresses as looked up from the local configuration database.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overridable ReadOnly Property EndpointAddresses As IEnumerable(Of Uri)
    Get
'Usage
Dim value As IEnumerable(Of Uri)

value = Me.EndpointAddresses
protected virtual IEnumerable<Uri> EndpointAddresses { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<Uri>
An enumerator that can be used to iterate over each service address.

Exceptions

Exception Condition
InvalidOperationException

The instance is not connected to a service application.

See Also

Reference

SPServiceLoadBalancer Class

SPServiceLoadBalancer Members

Microsoft.SharePoint Namespace