Share via


SPServiceJobDefinition constructor (String, SPService)

Initializes a new instance of the SPServiceJobDefinition class.

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

Syntax

'Declaration
Protected Sub New ( _
    name As String, _
    service As SPService _
)
'Usage
Dim name As String
Dim service As SPService

Dim instance As New SPServiceJobDefinition(name, service)
protected SPServiceJobDefinition(
    string name,
    SPService service
)

Parameters

  • name
    Type: System.String

    The name of the service job definition.

See also

Reference

SPServiceJobDefinition class

SPServiceJobDefinition members

SPServiceJobDefinition overload

Microsoft.SharePoint.Administration namespace