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.StringA string that specifies a name for the service instance.
server
Type: Microsoft.SharePoint.Administration.SPServerAn SPServer object that represents the server on which to create the service instance.
service
Type: Microsoft.SharePoint.Administration.SPWindowsServiceAn SPWindowsService object that represents a Windows service.
See Also
Reference
SPLoadBalancerServiceInstance Class
SPLoadBalancerServiceInstance Members