SPWindowsServiceInstance Constructor (String, SPServer, SPWindowsService)

Initializes a new instance of the SPWindowsServiceInstance class.

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

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