Share via


SPTimerService constructor (String, SPFarm)

Initializes a new instance of the SPTimerService class and provides the service name and identify the server farm on which the new service is created.

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

Syntax

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

Dim instance As New SPTimerService(name, farm)
public SPTimerService(
    string name,
    SPFarm farm
)

Parameters

See also

Reference

SPTimerService class

SPTimerService members

SPTimerService overload

Microsoft.SharePoint.Administration namespace

SPFarm