Partilhar via


SPServiceInstance Constructor (String, SPServer, SPService)

Initializes a new instance of the SPServiceInstance class.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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

See Also

Reference

SPServiceInstance Class

SPServiceInstance Members

SPServiceInstance Overload

Microsoft.SharePoint.Administration Namespace