SPLoadBalancerServiceInstance 构造函数 (String, SPServer, SPWindowsService)

基于指定的服务实例名称、 服务器和 Windows 服务的SPLoadBalancerServiceInstance类的新实例进行初始化。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub New ( _
    name As String, _
    server As SPServer, _
    service As SPWindowsService _
)
用法
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
)

参数

  • name
    类型:System.String

    一个字符串,指定的服务实例的名称。

另请参阅

引用

SPLoadBalancerServiceInstance 类

SPLoadBalancerServiceInstance 成员

SPLoadBalancerServiceInstance 重载

Microsoft.SharePoint.Administration 命名空间