次の方法で共有


SPWindowsService constructor (String, SPFarm)

Initializes a new instance of the SPWindowsService class.

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

Syntax

'Declaration
Protected Sub New ( _
    name As String, _
    farm As SPFarm _
)
'Usage
Dim name As String
Dim farm As SPFarm

Dim instance As New SPWindowsService(name, farm)
protected SPWindowsService(
    string name,
    SPFarm farm
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the new service.

See also

Reference

SPWindowsService class

SPWindowsService members

SPWindowsService overload

Microsoft.SharePoint.Administration namespace