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

SPWindowsServiceInstance类的新实例进行初始化。

命名空间:  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 SPWindowsServiceInstance(name, server, _
    service)
public SPWindowsServiceInstance(
    string name,
    SPServer server,
    SPWindowsService service
)

参数

  • name
    类型:System.String

    包含未进行本地化要用于标识对象名称的字符串。

另请参阅

引用

SPWindowsServiceInstance 类

SPWindowsServiceInstance 成员

SPWindowsServiceInstance 重载

Microsoft.SharePoint.Administration 命名空间