SPServiceInstance 构造函数 (String, SPServer, SPService)

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

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

语法

声明
Protected Sub New ( _
    name As String, _
    server As SPServer, _
    service As SPService _
)
用法
Dim name As String
Dim server As SPServer
Dim service As SPService

Dim instance As New SPServiceInstance(name, server, _
    service)
protected SPServiceInstance(
    string name,
    SPServer server,
    SPService service
)

参数

另请参阅

引用

SPServiceInstance 类

SPServiceInstance 成员

SPServiceInstance 重载

Microsoft.SharePoint.Administration 命名空间