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)
Available in Sandboxed Solutions: No

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