Share via


SPWindowsServiceInstance constructor (String, SPServer, SPWindowsService)

Initializes a new instance of the SPWindowsServiceInstance class.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    server As SPServer, _
    service As SPWindowsService _
)
'Usage
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
)

Parameters

  • name
    Type: System.String

    A string containing a name that is not localized to be used to identify the object.

See also

Reference

SPWindowsServiceInstance class

SPWindowsServiceInstance members

SPWindowsServiceInstance overload

Microsoft.SharePoint.Administration namespace