Compartilhar 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)
Available in Sandboxed Solutions: No

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