SPServiceInstance constructor (String, SPServer, SPService)
Initializes a new instance of the SPServiceInstance class.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub New ( _
name As String, _
server As SPServer, _
service As SPService _
)
'Usage
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
)
Parameters
name
Type: System.StringThe name of the service.
server
Type: Microsoft.SharePoint.Administration.SPServerAn SPServer object that represents the server on which the instance is installed.
service
Type: Microsoft.SharePoint.Administration.SPServiceAn SPService object that represents the parent service for the instance.