Share via


SPFirstAvailableServiceJobDefinition Constructor (String, SPService)

Initializes a new instance of the SPFirstAvailableServiceJobDefinition class by using the specified parameters.

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

Syntax

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

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

Parameters

  • name
    Type: System.String

    Specifies the name of the job definition.

See Also

Reference

SPFirstAvailableServiceJobDefinition Class

SPFirstAvailableServiceJobDefinition Members

SPFirstAvailableServiceJobDefinition Overload

Microsoft.SharePoint.Administration Namespace