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
)
参数
name
类型:System.String服务的名称。
server
类型:Microsoft.SharePoint.Administration.SPServerSPServer对象,该对象表示在其安装的实例的服务器。
service
类型:Microsoft.SharePoint.Administration.SPServiceSPService对象,该对象表示该实例的父服务。