Share via


SPLoadBalancerServiceInstance constructor (String, SPServer, SPWindowsService)

Initializes a new instance of the SPLoadBalancerServiceInstance class based on the specified service instance name, server, and Windows service.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    server As SPServer, _
    service As SPWindowsService _
)
'Usage
Dim name As String
Dim server As SPServer
Dim service As SPWindowsService

Dim instance As New SPLoadBalancerServiceInstance(name, server, _
    service)
public SPLoadBalancerServiceInstance(
    string name,
    SPServer server,
    SPWindowsService service
)

Parameters

  • name
    Type: System.String

    A string that specifies a name for the service instance.

See also

Reference

SPLoadBalancerServiceInstance class

SPLoadBalancerServiceInstance members

SPLoadBalancerServiceInstance overload

Microsoft.SharePoint.Administration namespace